Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 2000 09:17:54 -0600
From:      Brad Waite <brad@ssbaptist.net>
To:        questions@freebsd.org
Subject:   Re: problems setting up a gateway
Message-ID:  <39BE4922.C1B487E1@ssbaptist.net>
References:  <Pine.BSF.4.21.0009111509110.59175-100000@mail.datausa.com> <20000911231756.H69158@149.211.6.64.reflexcom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Here's my config.  Everything looks like it should work...to me.

# ifconfig -a
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.1.130 netmask 0xffffff00 broadcast 192.168.1.255
        inet6 fe80::250:daff:fe8b:306c%xl0 prefixlen 64 scopeid 0x1 
        ether 00:50:da:8b:30:6c 
        media: autoselect (100baseTX <full-duplex>) status: active
        supported media: autoselect 100baseTX <full-duplex> 100baseTX
10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>
xl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::250:daff:fe8b:306b%xl1 prefixlen 64 scopeid 0x2 
        inet 216.18.141.65 netmask 0xffffffe0 broadcast 216.18.141.95
        inet 216.18.141.66 netmask 0xffffffe0 broadcast 216.18.141.95
        inet 216.18.141.67 netmask 0xffffffe0 broadcast 216.18.141.95
        inet 216.18.141.68 netmask 0xffffffe0 broadcast 216.18.141.95
        inet 216.18.141.71 netmask 0xffffffe0 broadcast 216.18.141.95
        inet 216.18.141.76 netmask 0xffffffe0 broadcast 216.18.141.95
        inet 216.18.141.77 netmask 0xffffffe0 broadcast 216.18.141.95
        ether 00:50:da:8b:30:6b 
        media: autoselect (10baseT/UTP) status: active
        supported media: autoselect 100baseTX <full-duplex> 100baseTX
10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>
# netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags      Netif Expire
default            216.18.141.94      UGSc        xl1
127.0.0.1          127.0.0.1          UH          lo0
192.168.1.0        ff:ff:ff:ff:ff:ff  UHLWb       xl0 =>
192.168.1          link#1             UC          xl0 =>
192.168.1.3        0:aa:0:a3:2a:46    UHLW        xl0   1011
192.168.1.7        0:aa:0:a5:f2:99    UHLW        xl0    987
192.168.1.27       0:0:c0:c8:6e:9b    UHLW        xl0   1065
192.168.1.33       0:aa:0:a5:82:81    UHLW        xl0   1092
192.168.1.100      0:0:1c:30:8a:e     UHLW        xl0   1199
192.168.1.130      0:50:da:8b:30:6c   UHLW        lo0
192.168.1.132      0:a0:c9:8:a8:57    UHLW        xl0    753
192.168.1.150      0:a:27:8d:7:5c     UHLW        xl0    233
192.168.1.151      0:0:c5:4f:17:2c    UHLW        xl0    449
192.168.1.154      0:40:8c:3a:ad:55   UHLW        xl0    126
192.168.1.182      link#1             UHLW        xl0 =>
192.168.1.192      0:0:c0:93:4a:9e    UHLW        xl0     54
192.168.1.200      0:40:33:90:5d:10   UHLW        xl0 =>
192.168.1.202      0:40:33:52:e7:d1   UHLW        xl0    730
192.168.1.205      0:40:33:52:4a:9b   UHLW        xl0    984
192.168.1.210      0:aa:0:bb:20:ac    UHLW        xl0    815
192.168.1.217      0:aa:0:33:28:3     UHLW        xl0    731
192.168.1.226      0:4f:49:6:aa:5c    UHLW        xl0   1199
192.168.1.233      0:4f:49:6:b2:91    UHLW        xl0    944
192.168.1.234      0:40:af:54:c7:70   UHLW        xl0    126
192.168.1.250      0:4f:49:6:af:28    UHLW        xl0    503
192.168.1.255      ff:ff:ff:ff:ff:ff  UHLWb       xl0
216.18.141.64/27   link#2             UC          xl1 =>
216.18.141.65      216.18.141.65      UHLW        lo0
216.18.141.70      link#2             UHLW        xl1 =>
216.18.141.79      0:0:e8:d8:3e:c     UHLW        xl1    835
216.18.141.94      0:10:67:0:86:3c    UHLW        xl1   1047

AppleTalk:
Destination        Gateway            Flags      Netif Expire

IPX:
Destination        Gateway            Flags      Netif Expire

Internet6:
Destination                       Gateway                      
Flags      Netif Expire
::1                               ::1                          
UH          lo0
fe80::%xl0/64                     link#1                       
UC          xl0
fe80::%xl1/64                     link#2                       
UC          xl1
fe80::%lo0/64                     fe80::1%lo0                  
Uc          lo0
fe80::%gif0/64                    fe80::250:daff:fe8b:306c%gif0
Uc         gif0
fe80::250:daff:fe8b:306c%gif0     ::1                          
UH          lo0
fe80::%gif1/64                    fe80::250:daff:fe8b:306c%gif1
Uc         gif1
fe80::250:daff:fe8b:306c%gif1     ::1                          
UH          lo0
fe80::%gif2/64                    fe80::250:daff:fe8b:306c%gif2
Uc         gif2
fe80::250:daff:fe8b:306c%gif2     ::1                          
UH          lo0
fe80::%gif3/64                    fe80::250:daff:fe8b:306c%gif3
Uc         gif3
fe80::250:daff:fe8b:306c%gif3     ::1                          
UH          lo0
fe80::%stf0/64                    fe80::250:daff:fe8b:306c%stf0
Uc         stf0
fe80::250:daff:fe8b:306c%stf0     ::1                          
UH          lo0
ff01::/32                         ::1                          
U           lo0
ff02::%xl0/32                     link#1                       
UC          xl0
ff02::%xl1/32                     link#2                       
UC          xl1
ff02::%lo0/32                     fe80::1%lo0                  
UC          lo0
ff02::%gif0/32                    fe80::250:daff:fe8b:306c%gif0
UC         gif0
ff02::%gif1/32                    fe80::250:daff:fe8b:306c%gif1
UC         gif1
ff02::%gif2/32                    fe80::250:daff:fe8b:306c%gif2
UC         gif2
ff02::%gif3/32                    fe80::250:daff:fe8b:306c%gif3
UC         gif3
ff02::%stf0/32                    fe80::250:daff:fe8b:306c%stf0
UC         stf0


"Crist J . Clark" wrote:
> 
> On Mon, Sep 11, 2000 at 03:10:14PM -0600, brad waite wrote:
> > Hi guys,
> >
> > I've set net.inet.ip.forwarding->1 on my 4.0-R box, but it's not
> > running like a gateway between my nics.  It was my impression that this
> > is all that's required to make an instant router.  There's no messages
> > in syslog that indicate any problems.  Do I need to build a new kernel
> > w/ipfw support?  Other uggestions?
> 
> No need for ipfw(8). Are the interfaces configured correctly and the
> routing table set? What do,
> 
>   # ifconfig
>   # netstat -rn
> 
> Return? Also, what are the symptoms of your troubles? What have you
> done to check if forwarding works and how does it fail?
> --
> Crist J. Clark                           cjclark@alum.mit.edu
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
Brad Waite                  brad@ssbaptist.net
Media Director - South Sheridan Baptist Church


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39BE4922.C1B487E1>