Problems getting 2 NICs to work.

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Mon May 17 18:44:23 UTC 2004


Am Mo, den 17.05.2004 schrieb Alexander Dalloz um 20:34:

> > ip route add 12.168.88.0 dev eth0
> > ip route add 204.117.218.0 dev eth1
> 
> Those are wrong/incomplete. What shall 12.168.88.0 and 204.117.218.0 be,
> the network address or the gateway?
> 
> ip route add 12.168.88.0/24 dev eth0
> ip route add 204.117.218.0/24 dev eth1

To reply / correct myself:

ip route add $net/cidr via $gw

is the command syntax (see: ip route help). So it would be

ip route add 12.168.88.0/24 via 12.168.88.254
ip route add 204.117.218.0/24 via 204.117.218.254

(the gateway address following your given information so far and
trusting it is correct, while .254 is not necessarily the gateway IP of
a class C net)

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2188.nptl
Sirendipity 20:39:47 up 4 days, 18:24, load average: 0.12, 0.14, 0.25 
                   [ Γνωθι σ'αυτον - gnothi seauton ]
             my life is a planetarium - and you are the stars
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040517/035457b3/attachment-0001.sig>


More information about the fedora-list mailing list