Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!not-for-mail From: mason@werple.net.au (G C Wing) Newsgroups: comp.unix.bsd.netbsd.misc Subject: Gateway routing help please Date: 10 May 1996 14:03:13 +1000 Organization: Werple Internet, Melbourne Lines: 35 Message-ID: <4muf61$52i@melb.werple.net.au> NNTP-Posting-Host: melb.werple.net.au Anyone got a working NetBSD gateway with two ethernet cards and a subnetted Class C? My system currently has: % netstat -r -n Routing tables Internet: Destination Gateway Flags Refs Use Mtu Interface default a.b.c.1 UGS 1 16 - ed0 127.0.0.1 127.0.0.1 UH 0 4 - lo0 a.b.c link#1 UC 0 0 - ed0 a.b.c.1 0:0:1:2:3:4 UHL 3 250 - ed0 a.b.c.2 0:1:2:3:4:5 UHL 1 51 - lo0 a.b.c.31 link#1 UHL 1 28 - ed0 a.b.c.32 link#2 UC 0 0 - ed1 a.b.c.34 0:0:4:3:2:1 UHL 0 4 - ed1 a.b.c.48 20:5:4:3:2:1 UHL 1 296 - lo0 a.b.c.63 link#2 UHL 1 25 - ed1 % ifconfig ed0; ifconfig ed1 ed0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> inet a.b.c.2 netmask 0xffffffe0 broadcast a.b.c.31 ed1: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> inet a.b.c.48 netmask 0xffffffe0 broadcast a.b.c.63 Traffic from subnet 1 (on ed1: a.b.c.32-63) reaches subnet 0 (on ed0: .0-31). But traffic from subnet 0 doesn't pass through a.b.c.48 . It does reach a.b.c.2 OK, but I can't ping a.b.c.48 from subnet 0 (except on the gateway machine). Any routing help appreciated. Is there any simple way to see what's happening in the actual routing of packets on the gateway, eg. logging it? -- Mason [G.C.W] mason@werple.mira.net.au "Hurt...Agony...Pain...LOVE-IT"