Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 1995 22:12:55 +1100 (EST)
From:      Peter Marelas <maral@webnet.com.au>
To:        Steve Spiller <steve@microdot.com>
Cc:        questions@freebsd.org
Subject:   Re: Now it routes, now it don't!
Message-ID:  <Pine.SOL.3.91.951114220416.14753C-100000@iis>
In-Reply-To: <Pine.BSF.3.91.951113213456.365A-100000@ledzeppelin.microdot.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 13 Nov 1995, Steve Spiller wrote:

> 
> Well, I'm not sure what I did, or maybe it was a fluke that it was even 
> working in the first place, but i'm having routing problems.
> 
> Heres the scenerio :
> 
> Machine A and B are both a part of the network 205.134.198
> Machine A is running FreeBSD 2.0.5, and Machine B is running Windows 95.  
> Machine A talks to machine B, machine B responds.  All is happy and good.
> 
> Now, machine A uses its modem to dial my PPP provider and establish a 
> connection.  This connection creates the address of 204.71.144.66 ( local 
> ) and 204.71.144.?? ( remote ).  So now machine A ( 205.134.198.1 ) can 
> talk to machine B ( 205.134.198.2 ) and machine A can also talk to the 
> rest of the Net.
> 
> I have the address 204.71.144.66 as my default router,  and I have 
> #define GATEWAY compiled into the kernel etc ... as I said, it was 
> working.  Now, I can't for the life of me get machine B to see the Net or 
> vice verca.  In fact, the Outside world won't see machine A as 
> 205.134.198.1, only 204.71.144.66.
> 
> The only other option is that my providers portmaster dropped my network 
> from its routing tables ( this has happened before ), but I mailed the 
> network guy at my provider and asked him to check.  *shrug* I suppose 
> that he may not have yet ... but if anyone has a similar setup, can you 
> please send me a copy of your 'netstat -rn' output?
> 

What are you dialing into? annex?

Generally ppp connections look like so..

     Annex------------>PPP----------->ed0---------------|
xxx.xxx.xxx.xxx  205.134.198.1   205.134.198.2		|
	      Default Route: annex			|
						      Win95
						  205.134.198.3
					  Default route: 205.134.198.2

Route on annex would be..

Destination		Gateway		Netmask		Metric
205.134.198.0		annex		255.255.255.0	1

ie.
	route add 205.134.198.0 255.255.255.0 xxx.xxx.xxx.xxx 1

Setup of your machine would be.

in /etc/sysconf
	ifconfig_ed0="inet 203.134.198.1 netmask 0xffffff00"
	ifconfig_lo0="inet localhost"
	routedflages=''

and your pppd options would be..

	defaultroute (and device, etc)

Peter

PS: easiest way to test, ie. see who's end is at fault, is to ping from 
    both ends and look at modem lights.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.3.91.951114220416.14753C-100000>