search for: p0_net

Displaying 15 results from an estimated 15 matches for "p0_net".

2007 Jul 05
4
Load Balancing , MSN and SSL
...like do not work . Here my configuration : #!/bin/bash # # Script Baseado em http://lartc.org/howto/lartc.rpdb.multiple-links.html # # # IF0=eth1 function interface_interna() { VALOR_IP=0 while [ $VALOR_IP -lt 254 ] ; do if [ $VALOR_IP -ne 33 ] ; then P0_NET=192.168.${VALOR_IP}.0 IP0=192.168.${VALOR_IP}.1 ip route add $P0_NET dev $IF0 src $IP0 table T1 ip route add $P0_NET dev $IF0 src $IP0 table T2 fi VALOR_IP=$(expr $VALOR_IP + 1) done ip route add 192.168.33.0/24...
2004 Jul 26
1
Load Balancing
...m the clients PCs doesn´t. By the way, I´m making NAT toward the Client PCs. Do you have any idea why does it take so long to start navigating and why sometimes it works and sometimes doesn´t. This is the current script running in my server: #================================================= P0_NET=10.0.1.0/24 IF0=eth1 IP0=10.0.1.1 IF1=eth0 IP1=xxx.xxx.xxx.7 P1_NET=xxx.xxx.xxx.0/24 P1=xxx.xxx.xxx.1 IF2=eth2 IP2=yyy.yyy.yyy.21 P2_NET=yyy.yyy.yyy.0/24 P2=yyy.yyy.yyy.1 echo 0 > /proc/sys/net/ipv4/conf/eth0/rp_filter echo 0 > /proc/sys/net/ipv4/conf/eth2/rp_filter echo 3 > /proc/sys/...
2004 Aug 01
0
QOS
...m the clients PCs doesn´t. By the way, I´m making NAT toward the Client PCs. Do you have any idea why does it take so long to start navigating and why sometimes it works and sometimes doesn´t. This is the current script running in my server: #================================================= P0_NET=10.0.1.0/24 IF0=eth1 IP0=10.0.1.1 IF1=eth0 IP1=xxx.xxx.xxx.7 P1_NET=xxx.xxx.xxx.0/24 P1=xxx.xxx.xxx.1 IF2=eth2 IP2=yyy.yyy.yyy.21 P2_NET=yyy.yyy.yyy.0/24 P2=yyy.yyy.yyy.1 echo 0 > /proc/sys/net/ipv4/conf/eth0/rp_filter echo 0 > /proc/sys/net/ipv4/conf/eth2/rp_filter echo 3 > /proc/sys/...
2004 Aug 26
0
Problems with QOS
...m the clients PCs doesn´t. By the way, I´m making NAT toward the Client PCs. Do you have any idea why does it take so long to start navigating and why sometimes it works and sometimes doesn´t. This is the current script running in my server: #================================================= P0_NET=10.0.1.0/24 IF0=eth1 IP0=10.0.1.1 IF1=eth0 IP1=xxx.xxx.xxx.7 P1_NET=xxx.xxx.xxx.0/24 P1=xxx.xxx.xxx.1 IF2=eth2 IP2=yyy.yyy.yyy.21 P2_NET=yyy.yyy.yyy.0/24 P2=yyy.yyy.yyy.1 echo 0 > /proc/sys/net/ipv4/conf/eth0/rp_filter echo 0 > /proc/sys/net/ipv4/conf/eth2/rp_filter echo 3 > /proc/sys/...
2006 Mar 19
0
need help with route tables and policy routing please
...s I''ve tried to get it working the way I''d like. The ip route outputs below show a third nexthop to the 70.25.176.129 address but I only have that currently running as a test of outputing to all three ISP connections. Kirk #!/bin/bash IF0=eth0 IP0=10.10.10.1 P0=70.25.176.129 P0_NET=10.10.10.0 IF1=eth1 IP1=70.25.176.154 P1=70.25.176.129 P1_NET=70.25.176.128 IF2=ppp0 IP2=209.213.232.127 P2=209.183.132.10 P2_NET=209.0.0.0 IF3=ppp1 IP3=69.63.33.227 P3=209.183.132.10 P3_NET=209.0.0.0 #ip route add $P0_NET dev $IF0 src $IP0 table 50 #ip route add default via $P0 table 50 #ip route...
2004 Aug 17
16
Sanity check please !
I am setting to a shorewall system with 4 NIC''s as per the outline specification below. Can anyone please have a look and let me know what I have missed and what I have got wrong as I want to take this system live ASAP but do not want to kill internet access and the hosting for too long ! I have listed below the system outline & have attached the config files that I have changed, if
2004 Sep 23
0
two internet connections don''t appear to be masqing
I have a script for dual internet connections that does this: ------------------------- #!/bin/bash IF1=eth1 IP1=203.219.190.106 P1=203.219.190.105 P1_NET=203.219.190.104 IF2=eth2 IP2=220.245.224.46 P2=220.245.224.45 P2_NET=220.245.224.44 IF0=eth0 P0_net=192.168.0.0 TABLE1=inet1 TABLE2=inet2 ip route add $P1_NET dev $IF1 src $IP1 table $TABLE1 ip route add default via $P1 table $TABLE1 ip route add $P2_NET dev $IF2 src $IP2 table $TABLE2 ip route add default via $P2 table $TABLE2 ip route add $P1_NET dev $IF1 src $IP1 ip route add $P2_NET dev $...
2005 Feb 01
0
multiple uplinks example script
.... 1. Client --> Main server 2. Main Server --> Client ; Main server -> small server 3. Client -> small server The problem is, when connection 1. use different uplink then connection 2. Those icq related rules below corrected the problem. My script: IF0=eth2 IF1=eth1 IF2=eth3 IF3=eth0 P0_NET=192.168.1.0/24 P1_NET=public1 P2_NET=public2 IP0=192.168.1.254 IP1=publicip1 IP2=publicip1 #gateway P1=publicgw1 P2=publicgw2 #table T1=211 T2=212 T3=222 IP=/sbin/ip # Delete everything #$IP route flush cache $IP route flush all $IP route flush all table $T1 $IP route flush all table $T2 $IP r...
2005 Jun 28
1
Help - Firewall/Router Configuration
...TING iptables -t nat -F POSTROUTING iptables -P INPUT DROP iptables -P FORWARD ACCEPT iptables -P OUTPUT ACCEPT #Virtual Interface on Internal Information: ifconfig eth0:1 10.5.5.1 netmask 255.255.255.0 #VARIABLES: #LAN: IF0="eth0" IP0="192.168.0.2" P0="192.168.0.1" P0_NET="192.168.0.0" #WIF: IF1="eth1" IP1="<real IP>" P1="<real IP>" P1_NET="<real IP>" #DSL: IF2="eth2" IP2="<real IP>" P2="<real IP>" P2_NET="<real IP>" #DMZ: IF3=''et...
2005 Jun 11
1
problem with ip route and multiple lans
..."83.16.76.114" R1="83.16.76.113" #2ISP P2_NET2="80.55.42.32" ETH2="eth2" IP2="80.55.42.34" R2="80.55.42.33" #3ISP P3_NET3=212.160.117.112 ETH3="eth3" IP3="212.160.117.114" R3="212.160.177.113" #INTERNAL LAN P0_NET="192.168.100.0" ETH0="eth0" IP0="192.168.100.1 #DMZ P4_NET="10.1.1.0" ETH4="eth4" IP4="10.1.1.1" ip route add $P1_NET1 dev $ETH1 src $R1 table T1 ip route add default via $IP1 table T1 ip route add $P2_NET2 dev $ETH2 src $R2 table T2 ip rout...
2004 Aug 19
6
Re: Two Links and DNAT
...MESSAGE----- > > > Hash: SHA1 > > > > > > Marcelo Mercio Dandrea wrote: > > > > > >> ip route add default via $P2 > > >> ip rule add from $IP1 table slow > > >> ip rule add from $IP2 table fast > > >> ip route add $P0_NET dev $IF0 table slow > > >> ip route add $P2_NET dev $IF2 table slow > > >> ip route add 127.0.0.0/8 dev lo table slow > > >> ip route add $P0_NET dev $IF0 table fast > > >> ip route add $P1_NET dev $IF1 table fast > > >> ip route add 127.0...
2005 Jul 15
0
FW: LARTC Chapter 4.2, variation on a theme.
...lah (can''t remember my real address) $IP2 = 192.168.58.1 $P1 = $IP1 *DON''T KNOW IF THIS IS RIGHT, DON''T KNOW HOW TO FIND MY PROVIDERS GATEWAY* $P2 = 192.168.58.2 (DaveRouter) $P1_NET = 80.blah.blah.0/24 (got $IP1 and $P1_NET from ip route show) $P2_NET = 192.168.58.0/24 $P0_NET = 192.168.58.0/24 $IF0 = br0 If I set up all the routes using those values, test browsing around is flakey. Some pages load, some don''t (one connection working, one not?) I *can* use one connection *OR* the other connection. But only if I manually re-write /etc/resolv.conf to contain the...
2005 Jul 18
0
Load balancing (LARTC 4.2) over 2 connections on 2 routers.
...lah (can''t remember my real address) $IP2 = 192.168.58.1 $P1 = $IP1 *DON''T KNOW IF THIS IS RIGHT, DON''T KNOW HOW TO FIND MY PROVIDERS GATEWAY* $P2 = 192.168.58.2 (DaveRouter) $P1_NET = 80.blah.blah.0/24 (got $IP1 and $P1_NET from ip route show) $P2_NET = 192.168.58.0/24 $P0_NET = 192.168.58.0/24 $IF0 = br0 If I set up all the routes using those values, test browsing around is flakey. Some pages load, some don''t (one connection working, one not?) I *can* use one connection *OR* the other connection. But only if I manually re-write /etc/resolv.conf to contain the...
2006 Jun 16
1
problem with multi gatway routing
...am sending u, but with this rules i am not able to do multigateway routing on my linux router so plz help me out. thanks the rules are given below IF0=eth0 IF1=eth1 IF2=eth2 IP1=192.168.1.2 IP2=61.246.243.86 P1=192.168.1.1 P2=61.246.243.81 P1_NET=192.168.1.0/24 P2_NET=61.246.243.0/28 P0_NET=10.10.0.0/16 ip route add 192.168.1.0/24 dev eth1 src 192.168.1.2 table T1 ip route add default via 192.168.1.1 table T1 ip route add 61.246.243.0/28 dev eth2 src 61.246.243.86 table T2 ip route add default via 61.246.243.81 table T2 ip route add 192.168.1.0/24 dev eth1 src 192.168.1.2 ip...
2005 Nov 24
0
Load Balancing/NAT
...m IP (Gateway) P2=10.254.9.10 #Sattelite 2 Router/Modem IP (Gateway) P3=10.254.10.10 #Sattelite 3 Router/Modem IP (Gateway) P4=10.254.16.10 #Sattelite 4 Router/Modem IP (Gateway) P5=10.254.17.10 #Sattelite 5 Router/Modem IP (Gateway) P6=10.254.18.10 #Sattelite 6 Router/Modem IP (Gateway) #Networks P0_NET="10.10.1.0/24" # BBSM Net P1_NET=10.254.7.0/24 #Satellite 1 Network P2_NET=10.254.9.0/24 #Satellite 2 Network P3_NET=10.254.10.0/24 #Satellite 3 Network P4_NET=10.254.16.0/24 #Satellite 4 Network P5_NET=10.254.17.0/24 #Satellite 5 Network P6_NET=10.254.18.0/24 #Satellite 6 Network #Perfo...