* [LARTC] Simple Dual NIC setup
@ 2006-02-10 2:38 Rudi Starcevic
0 siblings, 0 replies; only message in thread
From: Rudi Starcevic @ 2006-02-10 2:38 UTC (permalink / raw)
To: lartc
Hello,
I'm having some problems I can't see trying to configure
two network cards.
I have eth0 and eth1.
On eth0 I have 10.1.1.1.1
ON eth1 I have 192.168.2.250
After my script runs I can ping the 10.1.1.0/24 network
but not the 192.168.2.0/24 network.
192.168.2/24 is network un-reachable .... Hmmm ...
Can you check over my 6 commands below and see where my problem is?
Many thanks.
Regards,
Rudi.
Routing Tables
255 local
254 main
253 default
0 unspec
#
# local
#
#1 inr.ruhep
200 implan
201 inet
echo "Setup NIC 0"
ip addr add 10.1.1.1/24 dev eth0 brd +
echo "Setup NIC 1"
ip addr add 192.168.2.250/24 dev eth1 brd +
echo "Setup Default Route [ inet table ]"
ip route add default via 10.1.1.254 proto static table inet
echo "Setup LAN Route [ implan table ]"
ip route add 192.168.2/24 via 192.168.2.250 proto static table implan
echo "Setup LAN ip rule"
ip rule add to 192.168.2/24 prio 16000 table implan
echo "Setup Internet ip rule"
ip rule add to 0/0 prio 17000 table inet
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-02-10 2:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-10 2:38 [LARTC] Simple Dual NIC setup Rudi Starcevic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox