Electronics Programming
Linux Posts, Programming Posts, Atmega Posts and others.
Search This Blog
Thursday, February 5, 2009
To give 2 different gateway IP addresses for 2 different interfaces in same system
route add -net 192.168.2.0 netmask 255.255.255.0 gw
192.168.0.2 dev eth0
route add -net 192.168.1.0 netmask 255.255.255.0 gw
192.168.0.3 dev eth1
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment