Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 1995 14:55:49 -0500 (EST)
From:      Peter Berger <peterb@telerama.lm.com>
To:        "Garrett A. Wollman" <wollman@lcs.mit.edu>
Cc:        questions@freebsd.org
Subject:   Re: 2 (or more) LAN interface on SAME subnet ?
Message-ID:  <Pine.BSI.3.91.951219145139.3588A-100000@ivory.lm.com>
In-Reply-To: <9512191945.AA15941@halloran-eldar.lcs.mit.edu>

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

Well, I'm not enlightened yet.

Here's my netstat -ni and routing table.  Note that I haven't figured out 
why tun0 is being picked up as a /16 network when I specify it as a /24 
in ppp.conf and sysconfig.  If I ifconfig the netmask to be correct, 
everything still works.

I guess what I'm really asking here is "Given that I have a /24 allocated 
to me and routing through the netblazer, what does the "correct" solution 
look lie?  Would I need to give the PPP link an address on 147.72.1?"

peterb% netstat -ni
Name  Mtu   Network     Address            Ipkts Ierrs    Opkts Oerrs  Coll
ep0   1500  <Link>00.60.8c.f2.92.2d            1     0        3     0     0
ep0   1500  147.72.56   147.72.56.1            1     0        3     0     0
lo0   16384 <Link>                             3     0        3     0     0
lo0   16384 127         127.0.0.1              3     0        3     0     0
ppp0* 1500  <Link>                             0     0        0     0     0
tun0  1500  <Link>                         16003     0    14913     0     0
tun0  1500  147.72      147.72.56.1        16003     0    14913     0     0


peterb% netstat -nr
Routing tables

Internet:
Destination      Gateway            Flags     Refs     Use     Netif Expire
default          147.72.1.2         UGc         2        0      tun0
127.0.0.1        127.0.0.1          UH          1        3       lo0
147.72           147.72.1.2         UGc        12        2      tun0
147.72.1.2       147.72.56.1        UH          6        0      tun0
147.72.56        link#1             UC          1        0 
147.72.56.1      127.0.0.1          UGHS        0        0       lo0
224              link#1             UCS         0        0 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.91.951219145139.3588A-100000>