Date: Fri, 06 Apr 2001 17:56:00 -0700 From: don <don@mars.siad.net> To: Robert <robert@chalmers.com.au> Cc: FreeBSD <freebsd-stable@FreeBSD.ORG> Subject: Re: Sorry, but this 4.3 box has me totally stumped. It simply won't gateway the PPP link. FULL details of setups. Message-ID: <3ACE659F.F3838267@mars.siad.net> References: <EJEPLCEELLLLAMPNEJMHEECACOAA.robert@chalmers.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Robert wrote: > Really, > this is becoming a mystery. I'm reasonably familiar with dns, routing, and > so on. This is all the detail I have, and all the configs I have in place. > Yet..... I can not get that laptop visible on the newtork. On .96.6 yes. > But no where else. > > If anyone can see what I'm missing here, I'd love to know. When I had the > laptop talking to the .96.5 box it works fine. > Talking to the .96.6 box. It will ONLY talk to the 96.6 box. > > Network: 203.1.96.0 > > +---------+ ----> WAN Internet Connection > | FreeBSD | \ > | 2.2 |-------- > | ".96.5" | > | | > +----+----+ > | > |----+-------------+-------------+----| <-- Ethernet Network > | | | > | | | > +----+----+ +----+----+ +----+----+ > | | | | | 4.3 | > | W2K | | W98 | | FreeBSD | > | ".96.26 | |".96.18 | | ".96.6 | > | | | | | | > +---------+ +---------+ +---------+ > | > \ > | PPP link > / > | > +---------+ > | Laptop | > | | > | ".96.3" | > | | > +----+----+ > > ROUTING: > This is the .96.6 FreeBSD, 4.3 server prior to the dialin from the laptop. > ruby# netstat -rn > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif > Expire > default 203.1.96.5 UGSc 28 1645 ed0 > 127.0.0.1 127.0.0.1 UH 0 0 lo0 > 203.1.96 link#1 UC 0 0 ed0 => > > This is the .96.6 FreeBSD, 4.3 server _after_ the dialin from the laptop. > ruby# netstat -rn > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif > Expire > default 203.1.96.5 UGSc 28 1645 ed0 > 127.0.0.1 127.0.0.1 UH 0 0 lo0 > 203.1.96 link#1 UC 0 0 ed0 => > 203.1.96.3 203.1.96.6 UH 1 0 tun0 => > 203.1.96.3/32 203.1.96.6 UGSc 0 0 ed0 > 203.1.96.6/32 203.1.96.3 UGSc 0 0 tun0 > > ....................................... > This is the ppp.linkup entry > # > pap: > add MYADDR HISADDR > # > ..................................... > This is the ppp.linkdown entry > pap: > delete MYADDR HISADDR > .................................... > This is the ppp.conf entry > pap: > allow users merlin > set log Phase Chat Connect IPCP > enable pap > enable chap > enable passwdauth > set timeout 900 > accept dns > accept chap > #enable proxy > set dns 203.1.96.5 203.1.96.6 > set nbns 203.1.96.26 > add 203.1.96.3 203.1.96.6 > ................................... > > And last but not least, the rc.conf lines > > ifconfig_lo0="inet 127.0.0.1" > ifconfig_ed0="inet 203.1.96.6 netmask 255.255.255.0" > hostname="ruby.chalmers.com.au" > named_enable="YES" > linux_enable="YES" > moused_port="/dev/cuaar1" > moused_type="logitech" > moused_enable="NO" > saver="green" > firewall_enable="NO" > defaultrouter="203.1.96.5" > static_routes="" > gateway_enable="YES" > router_enable="NO" > mrouted_enable="NO" > #forward_sourceroute="YES" > #accept_sourceroute="YES" > inetd_enable=NO > tcp_extensions="YES" > ................................... > > Now if anyone can tell me why that laptop isn't talking through the 4.3 box, > I'll be really interested to hear. > > Regards > Robert > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message I will reply one last time since my original reply was a bit incoherent You say you can connect to your server (203.1.96.6) ok and l assume you can login to your server from your laptop (203.1.96.3). this means your PPP connection is fine. But your Gateway (203.1.96.5) can't see your laptop on the interface for your local lan because it is not there, you have your laptop on another network interface. So you need to add a route to your Gateway so your laptop can be found. route add laptop (your destination) server (your gateway for your PPP network). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ACE659F.F3838267>