Re: Problems getting 2 NICs to work.

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

 



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

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux