Strange (newbie) Gateway Errors

Thomas Dimson tdimson at gmail.com
Sat Sep 10 18:48:31 PDT 2005


Hi,

I appreciate all the help.

I attached the file for you. Gmail does http URLs for no particular reason. 
I tried setting up a static route for all university bound traffic on the 
router however it seems to not have aided one bit. Whenever I run a tracert 
on my windows box (that is connected to the freebsd) it dies after the hop 
to my freebsd box. Is there any log or anything that I could see? I have the 
distinct impression that it is sending fine, but possibly just not recieving 
any data. Also, all the router_enable="YES" stuff is just things I looked in 
sysinstall for that may have helped me self-remedy my problem.

Thanks a lot,
Thomas Dimson
tdimson at gmail.com

On 9/10/05, Giorgos Keramidas <keramida at ceid.upatras.gr> wrote:
> 
> On 2005-09-10 11:58, Thomas Dimson <tdimson at gmail.com> wrote:
> > Hi,
> > I am running: FreeBSD-6.0Beta4
> >
> > I don't have natd configured in the slightest. My assumption was that I
> > didn't need to run it because I have a router assigning the IP addresses 
> and
> > doing NAT for my cable modem, while my university is assigning me an IP
> > address for the second interface. Maybe I do need to run it.
> 
> It's very likely that you need to run it. What IP address does DHCP
> assign to your ``vr1'' interface? Can you repost the output of the
> following commands, but as plain text attachments? Their previous copy
> in upthread messages is almost unreadable because of mailer induced
> wrapping and reformatting of the text.
> 
> It would be interesting to see:
> 
> # ifconfig -a
> # netstat -rn
> 
> > ifconfig_vr0="inet 192.168.1.110 <http://192.168.1.110> <
> http://192.168.1.110> netmask
> > 255.255.255.0 <http://255.255.255.0> <http://255.255.255.0>"
> > ifconfig_vr1="DHCP"
> 
> Hmmm, are you sure these http URLs are necessary here. i don't think so...
> 
> > # -- sysinstall generated deltas -- # Fri Sep 9 19:53:50 2005
> > router_flags="-s"
> > router="/sbin/routed"
> > router_enable="YES"
> 
> Hmmm, is this __really__ necessary?
> 
>
-------------- next part --------------
dimson at presidenturkel$ ifconfig -a
vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.1.110 netmask 0xffffff00 broadcast 192.168.1.255
        inet6 fe80::20d:88ff:fe7f:42d0%vr0 prefixlen 64 scopeid 0x1
        ether 00:0d:88:7f:42:d0
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
vr1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::211:95ff:fee2:5740%vr1 prefixlen 64 scopeid 0x2
        inet 129.97.245.108 netmask 0xffffff00 broadcast 129.97.245.255
        ether 00:11:95:e2:57:40
        media: Ethernet autoselect (10baseT/UTP)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4

-----------------------------------------------------------------

dimson at presidenturkel$ netstat -nr
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.1.1        UGS         0   132514    vr0
127.0.0.1          127.0.0.1          UH          0       75    lo0
129.97             129.97.245.1       UGS         0      882    vr1
129.97.245/24      link#2             UC          0        0    vr1
129.97.245.1       00:04:9b:1e:20:00  UHLW        2        0    vr1   1144
129.97.245.71      52:54:05:f9:67:c8  UHLW        1        2    vr1    642
192.168.1          link#1             UC          0        0    vr0
192.168.1.1        00:20:78:ce:cb:b4  UHLW        2       92    vr0   1196
192.168.1.107      00:11:95:5d:0b:7f  UHLW        1      257    vr0   1040

Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UH          lo0
fe80::%vr0/64                     link#1                        UC          vr0
fe80::20d:88ff:fe7f:42d0%vr0      00:0d:88:7f:42:d0             UHL         lo0
fe80::%vr1/64                     link#2                        UC          vr1
fe80::211:95ff:fee2:5740%vr1      00:11:95:e2:57:40             UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#4                        UHL         lo0
ff01::/32                         ::1                           U           lo0
ff02::%vr0/32                     link#1                        UC          vr0
ff02::%vr1/32                     link#2                        UC          vr1
ff02::%lo0/32                     ::1                           UC          lo0


More information about the freebsd-questions mailing list