Re: conflict when adding eth2 (diff, gateway)
Got it,
route add -net 203.190.77.144 netmask 255.255.255.240 gw 203.190.77.158 dev
eth2
It is not anymore failing, but is it possible for ex.
I have a LAN thats on 10.0.0.0/24 I want them when they access 203.190.77
block it will pass on my other gw is this possible?
--
thanks,
louie miranda
----- Original Message -----
From: "Russell Shaw" <rjshaw@iprimus.com.au>
To: <debian-user@lists.debian.org>
Cc: <debian-user@lists.debian.org>
Sent: Tuesday, February 25, 2003 1:51 AM
Subject: Re: conflict when adding eth2 (diff, gateway)
> louie miranda wrote:
> > Actual interface..
> > ---
> > eth0/inet addr:203.190.72.108 Bcast:203.190.72.111
Mask:255.255.255.248
> > eth1/inet addr:10.0.0.1 Bcast:10.255.255.255 Mask:255.255.0.0
> >
> >
> >>eth2/inet addr:203.190.77.156 Mask:255.255.255.240, Not yet added.
> >
>
> This *might* work:
>
> Kernel IP routing table
> ---
> Destination Gateway Genmask Iface
> 203.190.72.104 0.0.0.0 255.255.255.248 eth0
> 10.0.0.0 0.0.0.0 255.255.0.0 eth1
> 0.0.0.0 203.190.72.110 0.0.0.0 eth0
> 203.190.77.144 203.190.77.156 255.255.255.240 eth2
>
> > I have 3NICS, eth0 (primary gateway) and eth1 (lan network) and eth2
> > (diffrent network and gateway..)
> >
> > When i add the eth2 using this command
> >
> > /sbin/ifconfig eth2 203.190.77.156 netmask 255.255.255.240 up
> >
> > Connections going to 203.190.77 block all hangs, i dont know why.
> > Im trying to add the route gateway to 203.190.77.158 (gateway) for
> > 203.190.77 block, but it does not work. Error says, Invalid eth*
> > But i can see eth2.
> >
> > Any ideas?
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
>
>
Reply to: