Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Suse 9.0 Multi-homed / Split Access

Status
Not open for further replies.

aeberli

ISP
Apr 11, 2005
2
CH
Hi

I have a Suse 9.0 Linux box with two network interfaces and i like to configure it in the way that the box ansers a request trought the same provider as it got in.

eth0 / ip=192.168.100.100 / 192.168.100.0/24 / gw=100.1
eth1 / ip=192.168.102.100 / 192.168.102.0/24 / gw=102.1

I found a document which should help me to get the solution, but no luck.

I added the tables to /etc/iproute2/rt_tables
10 T1
20 T2

the commands i am using are

- ip route add 192.168.100.0/24 dev eth0 src 192.168.100.100 table T1
- ip route add default via 192.168.100.1 table T1
- ip route add 192.168.102.0/24 dev eth1 src 192.168.102.100 table T2
- ip route add default via 192.168.102.1 table T2
*1 ip route add 192.168.100.0/24 dev eth0 src 192.168.100.100
*1 ip route add 192.168.102.9/24 dev eth1 src 192.168.102.100
*1 ip route add default via 192.168.100.1

*2 ip route add from 192.168.100.100 table T1
*2 ip route add from 192.168.102.100 table T2


*1 reuslt: RTNETLINK ansers: File exists
*2 result: RTNETLINK ansers: No such device

Anybody with a solution?

Thanks,
Reto
 
No solution, but another place to look is Forum54: Linux (server).

<marc>
 
I did it another way now, so please forget about my question above.

Thanks,
Reto
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top