search for: lan_net

Displaying 11 results from an estimated 11 matches for "lan_net".

Did you mean: lan2net
2005 Feb 09
2
load balancing between two dsl links
...30 dev eth0 table 2 ip route add 10.59.2.0/24 dev eth1 table 2 ip route add 127.0.0.0/8 dev lo table 2 ip route add default scope global nexthop via 2.2.2.209 dev eth0 weight 1 nexthop via 3.3.3.117 dev eth2 weight 1 Below is my iptables: - lanif="eth1" squid_box="10.59.2.3" lan_net="10.59.2.0/24" $ECHO 1 > /proc/sys/net/ipv4/ip_forward $IPTABLES -t nat -A PREROUTING -i $lanif -s ! $squid_box -p tcp --dport 80 -j DNAT --to $squid_box:3128 $IPTABLES -t nat -A POSTROUTING -o $lanif -s $lan_net -d $squid_box -j SNAT --to $lan_ip $IPTABLES -A FORWARD -s $lan_net -...
2004 Feb 06
3
Multiple uplinks - load balancing
...more than one independent Internet connection" document. I patched my 2.4.24 kernel with patches, described in this document. My configuration is: --------------------------------------------------------------- #!/bin/bash #------------------------------ LAN_IF - LAN interface LAN_IP - LAN IP LAN_NET - LAN network/mask #------------------------------ INET1_IF - external interface no. 1 INET1_IP - external IP no. 1 INET1_NET - external network/mask no. 1 INET1_GW - remote gateway no. 1 #------------------------------ INET2_IF - external interface no. 2 INET2_IP - external IP no. 2 INET2_NET - ex...
2004 Nov 19
14
FAQ 32
What changes would I need to make if there is a 4th interface that is going to a DMZ Thanks Gene
2006 Jul 08
0
routing multiple paths to inet
..., same account, just different IPs. Heres what I''m trying: ------------------ LAN_IP="10.0.0.1" LAN_IFACE="eth0" EXT_IP_1="x.y.246.186" EXT_IFACE_1="eth1" EXT_IP_2="x.y.246.187" EXT_IFACE_2="eth2" INET_GW="x.y.246.254" LAN_NET="10.0.0.0/16" LAN_NET_SERVERS="10.0.0.0/24" ip route flush table main ip route flush table servers ip rule add from $LAN_NET_SERVERS table servers # First route ip route add $INET_NET dev $EXT_IFACE_2 ip route add default via $INET_GW dev $EXT_IFACE_2 # Second route, seems s...
2004 Aug 03
0
Second isp failure with dual internet connection
...nexthop $isp1_gw #ip route add default nexthop via $isp2_gw dev $isp2_if weight 2\ # nexthop via $isp1_gw dev $isp1_if weight 1 echo "Adding routes ..." ip route add $isp1_net dev $isp1_if src $isp1_ip table 5 ip route add default via $isp1_gw table 5 #ip route add $lan_net dev $lan_if table 5 #ip route add $isp2_net dev $isp2_if table 5 #ip route add $lo_net dev $lo_if table 5 ip route add $isp1_net dev $isp1_if src $isp1_ip ip route add $isp2_net dev $isp2_if src $isp2_ip ip rule add from $isp1_ip table 5 ip rule add from $isp2_ip table 7 ip r...
2004 Aug 05
0
URGENT HELP needed!! Problem with second route dual ISP
...a $isp2_gw nexthop $isp1_gw #ip route add default nexthop via $isp2_gw dev $isp2_if weight 2\ # nexthop via $isp1_gw dev $isp1_if weight 1 echo "Adding routes ..." ip route add $isp1_net dev $isp1_if src $isp1_ip table 5 ip route add default via $isp1_gw table 5 #ip route add $lan_net dev $lan_if table 5 #ip route add $isp2_net dev $isp2_if table 5 #ip route add $lo_net dev $lo_if table 5 ip route add $isp1_net dev $isp1_if src $isp1_ip ip route add $isp2_net dev $isp2_if src $isp2_ip ip rule add from $isp1_ip table 5 ip rule add from $isp2_ip table 7 ip route add...
2004 Dec 19
0
router problem
...t?) INET_IFACE=eth0 INET_NET=62.85.71.0/28 INET_GW=62.85.71.1 INET_IP=62.85.71.10 INET_BCAST_ADRESS=62.85.71.15 INET_MASK=255.255.255.240 DSL_IFACE=eth2 DSL_NET=81.198.4.0/28 DSL_GW=81.198.4.1 DSL_IP=81.198.7.159 DSL_BCAST_ADRESS=81.198.7.255 DSL_MASK=255.255.252.0 LAN_IFACE=eth1 LAN_IP=10.10.10.0 LAN_NET=10.10.10.0/24 LAN_MASK=255.255.255.0 LAN_BCAST=10.10.10.255 INET_IP1=62.85.71.2 INET_IP2=62.85.71.3 INET_IP3=62.85.71.4 INET_IP4=62.85.71.5 INET_IP5=62.85.71.6 INET_IP6=62.85.71.7 INET_IP7=62.85.71.8 INET_IP8=62.85.71.9 INET_IP9=62.85.71.11 LAN_IP1=10.10.10.11/32 LAN_IP2=10.10.10.12/32 LAN_IP3=10.1...
2007 Sep 25
1
Local server unreachable by remote lan in dual isp configuration
...: ISP1_NET="x.x.x.192/29" ISP1_IP="x.x.x.195" ISP1_GW="x.x.x.193" ISP1_IF="bad0" ISP2_NET="x.x.x.96/29" ISP2_IP="x.x.x.98" ISP2_GW="x.x.x.97" ISP2_IF="bad1" DMZ_NET="192.168.0.0/24" DMZ_IF="dmz0" LAN_NET="10.0.0.0/24" LAN_IF="lan0" SERVER_MAIL="10.0.0.50" SERVER_1="10.0.0.10" SERVER_2="10.0.0.2" SERVER_3="10.0.0.3" /sbin/ip rule add fwmark 100 table ISP2 /sbin/ip rule add fwmark 101 table ISP1 /sbin/ip route add $ISP1_NET dev $ISP1_IF...
2004 May 30
2
Route P2P on separate link
Hello, Is there a way to route p2p traffic on a separate ISP connection, just as you would choose a separate connection for http traffic? I tried all sorts of setups based on: http://www.braindump.dk/en/wiki/?wikipage=PolicyRouting but with no luck. Please help :) (ipp2p is up and running) _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl
2004 Jan 21
1
HTB and VOIP- Choppy voice quality: What am I doing wrong? Desperate!
Hello all, ( I apologize if this posts twice ) Here is my situation. I have 3 buildings linked with 100mbit fiber optics (2 runs that come to the corporate office). I have 3 RH9 boxes, one at each location. Each box at the remote locations have 4 NICs, one for the fiber link, one for LAN, one for the VOIP box and one for the internet connection. The corporate office has 4 NICs also, 1
2007 Aug 16
4
two providers.
Hello, people. I read iptables tutorial and lartc, but i''m still confused with one trouble. May be this question was discussed already, so forward me solution, if is. So, there''s a trouble. I have debian etch linux. 2.6.18-4 kernel. On this computer i have three interfaces: eth0 - my lan, eth1, eth2 - providers. By default all internet traffic routed through eth2. But i