Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jul 95 14:56 EDT
From:      leopapan@interax.net (leo papandreou)
To:        questions@freebsd.org
Subject:   SLIP: Is this what they mean by Point-to-Point?
Message-ID:  <m0sXCOB-0002kwC@rcorco.rco.qc.ca>

next in thread | raw e-mail | index | archive | help

2 machines connected via de0. One of them (lisa) is connected to the
net via sl0. What i would like is to be able to talk to the world
through the other machine (bart) as well.

Both machines run the standard daemons with the default flags. 
I ran routed -g on the box with sl0 for a while but except for a 
"routed[53]: deleting route to interface sl0 (timed out)" 
nothing else seemded to change. Ive also commented out routed
entirely, created a <gateways>, built a static routing table - 
nothing doing; bart cant see the world. If its not a "host
unknown"/"network unreachable", its a hang.

The system is resolver only. My provider has records for both
the machines as nslookup verifies.

The only configuration defaults that i have changed are as follows:

For both boxes:
	<hosts>
	205.205.16.1   bart.rur.com                             bart
	205.205.16.2   lisa.rur.com             www.rur.com     lisa
	199.202.234.1  interlink.net            slip-gateway
	199.202.234.53 G338.257.interlink.net   slip-modemIP
	198.168.73.8   ns.interlink.net         nameServer-1
	198.168.54.8   ns.rezonet.net           nameServer-2

	in <host.conf> hosts precedes bind

	<resolv.conf>
	domain         rur.com
	nameserver     198.168.73.8
	nameserver     198.168.54.8

The relevant <sysconfig> lines for lisa are:
	network_interfaces="sl0 de0 lo0"
	ifconfig_de0="inet 205.205.16.2 netmask 0xffffff00"
	ifconfig_sl0="inet 199.202.234.53 199.202.234.1 netmask 0xffffff00"
	ifconfig_lo0="inet localhost"
	static_routes="multicast loopback"
	route_multicast="224.0.0.0 -netmask 0xf0000000 -interface ${hostname}"
	route_loopback="${hostname} localhost"
	defaultrouter="199.202.234.1"
	routedflags="-q"

and for bart they are the same except for:
	network_interfaces="de0 lo0"
	ifconfig_de0="inet 205.205.16.1 netmask 0xffffff00"
	defaultrouter=NO


Both machines boot fine. On lisa I kermit to my provider, suspend
kermit and slattach -a -h -s 115200 /dev/cuaa1 and everything works:

netstat -nr
Routing tables

Internet:
Destination      Gateway            Flags     Refs     Use     Netif Expire
default          199.202.234.1      UGSc        0        0       sl0
127.0.0.1        127.0.0.1          UH          1        0       lo0
199.202.234.1    199.202.234.53     UH          1        4       sl0
199.202.234.53   127.0.0.1          UH          0        0       lo0
205.205.16       link#2             UC          0        0 
205.205.16.2     127.0.0.1          UGHS        0        0       lo0
224              link#2             UCS         0        0 

ifconfig -a
lp0: flags=810<POINTOPOINT,SIMPLEX> mtu 1500
de0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 205.205.16.2 netmask 0xffffff00 broadcast 205.205.16.255
	ether 00:00:c0:68:f6:9d 
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 16384
	inet 127.0.0.1 netmask 0xff000000 
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
	inet 199.202.234.53 --> 199.202.234.1 netmask 0xffffff00 
tun0: flags=10<POINTOPOINT> mtu 1500

Then i start to play with the route command on bart in an attempt
to give him a default route. To lisa? No. To slip-modemIP? No. To
slip-gateway? No. 

I give up. What am i missing?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0sXCOB-0002kwC>