Problems configuring 2 uplinks and 2 default routes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am in the process of changing the uplink provider on my web server.

I currently have 2 IP addresses allocated to eth0 (the old isp)
and 16 IP addresses allocated to eth1 (the new isp)

During the transition I need to be able to use both network
connections.  I am having a problem working out how to configure the
default routes so that any packets generated by the IP addresses on
eth0 go to the old isps router, and any gennerated by IP addresses on
eth1 go to the new ISPs router.

I have tried all the different combinations of default gateways with
different metrics, and bound to devices that I can think of.

I tried adding a rule with ip to use a different routing table for the
old IP addresses but I get the error

# ip ru list
RTNETLINK answers: Invalid argument 
Dump terminated 

I have compiled in policy based routing.  I am running 2.4.13-ac7
Policy based routing was compiled in.

If anyone can give me any pointers to relevent docs or ideas as to
where I am going wrong I would be greatfull.

Thanks 

Stephen


-- 
"Stephen Beynon" <stephen@askone.demon.co.uk>
 
Encrypted mail preferred.  Key ID = 4F78D6F1
Key available on request, or from wwwkeys.nl.pgp.net (and peering servers)
Key fingerprint = 7A5B DEEF D465 AD6D 8E2B  3EFB DD0D 178D 4F78 D6F1




Attachment: pgp00034.pgp
Description: PGP signature


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux