From owner-freebsd-questions Sat Jul 15 12:02:22 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id MAA16970 for questions-outgoing; Sat, 15 Jul 1995 12:02:22 -0700 Received: from rcorco.rco.qc.ca (rcorco.rco.qc.ca [192.219.247.1]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id MAA16963 for ; Sat, 15 Jul 1995 12:02:18 -0700 Received: from G7014.258.InterLink.NET by rcorco.rco.qc.ca with smtp (Smail3.1.28.1 #6) id m0sXCOB-0002kwC; Sat, 15 Jul 95 14:56 EDT Message-Id: Date: Sat, 15 Jul 95 14:56 EDT X-Sender: leopapan@interax.net X-Mailer: Windows Eudora Version 1.4.4 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: questions@freebsd.org From: leopapan@interax.net (leo papandreou) Subject: SLIP: Is this what they mean by Point-to-Point? Sender: questions-owner@freebsd.org Precedence: bulk 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 , 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: 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 hosts precedes bind domain rur.com nameserver 198.168.73.8 nameserver 198.168.54.8 The relevant 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 mtu 1500 de0: flags=8863 mtu 1500 inet 205.205.16.2 netmask 0xffffff00 broadcast 205.205.16.255 ether 00:00:c0:68:f6:9d lo0: flags=8009 mtu 16384 inet 127.0.0.1 netmask 0xff000000 sl0: flags=c010 mtu 552 inet 199.202.234.53 --> 199.202.234.1 netmask 0xffffff00 tun0: flags=10 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?