[Sussex] Persistent routes
Paul Howard
paul at phoward.com
Tue May 15 10:43:34 UTC 2012
Hi Steve,
My setup is slightly different. 1 physical NIC with 2 IP addresses
assigned. 1 external with external GW address and 1 Internal.
interfaces file is:
auto eth1
iface eth1 inet static
address 213.129.94.230
netmask 255.255.255.240
gateway 213.129.94.238
auto eth1:0
iface eth1:0 inet static
address 192.168.64.140
netmask 255.255.255.192
gateway 192.168.64.190
# static route for traffic to 192.168.0.0
up route add -net 192.168.0.0/24 gw 192.168.64.190 dev eth1:0
99% of traffic needs to go out on the gateway 213.129.94.238
Only traffic to 192.168.0.0/24 needs to use 192.168.64.190
--
*Paul Howard*
web: phoward.com / phowardimages.co.uk | twitter:
@phowardcom<http://twitter.com/phowardcom>
/ @phowardimages <https://twitter.com/phowardimages>
tel (UK): +44 (0)1293 738158 | mobile (UK): +44 (0)7903 505153 |
tel (US) : +1 251 243 0058
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/sussex/attachments/20120515/3a323471/attachment.htm>
More information about the Sussex
mailing list