Mailinglist Archive: opensuse (770 mails)

< Previous Next >
[opensuse] Split Access two ISP's very close to working.
With the rules below, 168.103.176.49 is working, But the second address assigned 168.103.176.52 is not. I know I am very close and I just can not seem to see the problem.

ip address show
...
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:15:17:55:80:cd brd ff:ff:ff:ff:ff:ff
inet 168.103.176.49/29 brd 168.103.176.55 scope global eth1
inet 168.103.176.52/29 brd 168.103.176.55 scope global secondary eth1:mwiap

So they both are shown there.

ip route show
168.103.176.48/29 dev eth1 proto kernel scope link src 168.103.176.49
168.103.176.248/29 dev eth1 scope link src 168.103.176.49
198.60.105.0/24 dev eth0 proto kernel scope link src 198.60.105.164
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.165
169.254.0.0/16 dev eth0 scope link
127.0.0.0/8 dev lo scope link
default via 198.60.105.2 dev eth0

ip route list table T1
255.255.255.248 dev eth1 scope link
198.60.105.0/24 dev eth0 scope link src 198.60.105.164
127.0.0.0/8 dev lo scope link
default via 198.60.105.2 dev eth0

ip route list table T2
255.255.255.0 dev eth0 scope link
168.103.176.248/29 dev eth1 scope link src 168.103.176.49
127.0.0.0/8 dev lo scope link
default via 168.103.176.54 dev eth1


On Fri, 31 Aug 2012, Boyd Lynn Gerber wrote:
Here is the cleaned up version

IF1=eth0
IF2=eth1
IP1=198.60.105.164
IP2=168.103.176.49
P0=192.168.0.1
P1=198.60.105.2
P2=168.103.176.54
P0_NET=192.168.0.0/24
P1_NET=198.60.105.0/24
P2_NET=168.103.176.248/29
P0_NET_MASK=255.255.255.0
P1_NET_MASK=255.255.255.0
P2_NET_MASK=255.255.255.248
ip route add $P1_NET dev $IF1 src $IP1 table T1
ip route add default via $P1 table T1
ip route add $P2_NET dev $IF2 src $IP2 table T2
ip route add default via $P2 table T2
ip route add $P1_NET dev $IF1 src $IP1
ip route add $P2_NET dev $IF2 src $IP2
ip route add default via $P1
ip rule add from $IP1 table T1
ip rule add from $IP2 table T2
ip route add $P2_NET_MASK dev $IF2 table T1
ip route add 127.0.0.0/8 dev lo table T1
ip route add $P1_NET_MASK dev $IF1 table T2
ip route add 127.0.0.0/8 dev lo table T2

Thanks for all the assistence so far. I am really close.

Thanks for any more suggestiosn.

--
Boyd Gerber <gerberb@xxxxxxxxx> 801 849-0213
ZENEZ 1042 East Fort Union #135, Midvale Utah 84047

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >