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

Re: PCMCIA routing



When I do that I get two gateways, but with the wrong Destination

I get
Destination    Gateway      Genmask
0.0.0.0        192.168.0.1  0.0.0.0
0.0.0.0        192.168.2.1  0.0.0.0

What I'm trying to get is:
0.0.0.0        192.168.0.1    0.0.0.0
192.168.2.0    192.168.2.1    255.255.255.0

Michael Bauer wrote:
> 
> Hi TOM
> 
> > If my card is 192.168.2.1 my typical routing ends up where
> > everything is routed through this interface.
> > I want to be selective down to 192.168.2.0/24 only and leave the
> > default routing to another interface.
> > The problem is that I want to have two routing defaults:
> > 192.168.2.0/24 goes to 192.168.2.1
> > everything else goes to 192.168.0.1
> 
> in my /etc/pcmcia/network.opts I got the line GATEWAY="192.168.18.1"
> AsFarAsIKnow this is the solution to your problem. comment that line or
> set your gateway in.
> 
> mihi
> --
> Good programmers know what to write, Great programmers know what to
> rewrite
>                                                             Eric S.
> Raymond
> PGP/GPG key @ http://unet.univie.ac.at/~a9900470/mihi.asc
> 
> --
> To UNSUBSCRIBE, email to debian-laptop-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: