Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: tlug: networking woes
- To: tlug <tlug@example.com>
- Subject: Re: tlug: networking woes
- From: Selva Nair <selva@example.com>
- Date: Tue, 29 Feb 2000 23:16:20 +0900 (JST)
- Content-Type: TEXT/PLAIN; charset=US-ASCII
- In-Reply-To: <E12PmNd-0000KX-00@example.com>
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
On Tue, 29 Feb 2000, John Seebach wrote: > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > localnet * 255.255.255.0 U 0 0 0 eth0 That should be enough for the local net to be accessible. > default localhost 0.0.0.0 UG 1 0 0 lo Here is a default route through the loopback with local host as the gateway (see the flas UG). Normally it should be the normal loopback route with no gateway, and mask 255.0.0.0 that gets automatically set up by 'ifconfig lo 127.0.0.1' . Older versions of ifconfig required an explicit 'route add -net 127.0.0.1', though. But in any case, the loopback route needs no gateway, should have mask 255.0.0.0 and is not made default. > > ---------------------------------------------------------------------------- > ...and again, after starting my ppp daemon > > > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > 210.175.27.15 * 255.255.255.255 UH 0 0 0 ppp0 > localnet * 255.255.255.0 U 0 0 0 eth0 > default localhost 0.0.0.0 UG 1 0 0 lo I think it is because of this default route that ppp is not setting up the correct defualt route via ppp0. > > ---------------------------------------------------------------------------- > > I suspect that what's happening here is some script somewhere (likely > /etc/pcmcia/network.opts) is setting my defaultroute to be localhost > after I insert the card. There's a variable in the script > > GATEWAY="127.0.0.1" You dont need this. The loop back is configured by ifconfig lo 127.0.0.1. > > that appears to be responsible this behavior. If I comment it out, I > can use ppp, but I can't use my local network. But, if it's there, Really ? > when i establish a ppp connection, my isp's nameserver is not the > default route. Arrgh. > > Can anybody tell me what I'm doing wrong? > > john > Selva -------------------------------------------------------------------- Next Technical Meeting: March 11 (Sat) 13:00 Temple University Japan * Topic: "What's new in Perl 5.6" Guest speaker: Simon Cozens (TLUG Perl guru) Next Nomikai Meeting: April 21 (Fri) 19:00 Tengu TokyoEkiMae -------------------------------------------------------------------- more info: http://www.tlug.gr.jp Sponsor: Global Online Japan
- Follow-Ups:
- Re: tlug: networking woes
- From: John Seebach <jseebach@example.com>
- References:
- tlug: networking woes
- From: John Seebach <jseebach@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: tlug: networking woes -- never mind
- Next by Date: Re: tlug: networking woes
- Prev by thread: Re: tlug: networking woes -- never mind
- Next by thread: Re: tlug: networking woes
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links