Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2000 12:23:24 -0700 (PDT)
From:      Loren Koss <loren@pciway.com>
To:        freebsd-stable@freebsd.org
Subject:   Problem with multiple ips and ipnat..
Message-ID:  <Pine.BSF.4.21.0007121218260.37040-100000@unix.pciway.com>

next in thread | raw e-mail | index | archive | help
I was having a problem with 3.3-Stable so I upgraded to 4 and now seem to
be having the same issue.  It looks like after a few days any aliased ip
addresses just stop working.  It was working fine on 3.3 for a year or so
and then just stopped.  The 4 box is actually a brand new machine with new
nics and everything..  Can someone shed some light as to what might be
wrong??  Here is my output from ifconfig ->

rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 216.59.70.70 netmask 0xffffff00 broadcast 216.59.70.255
        inet6 fe80::248:54ff:fe6b:101%rl0 prefixlen 64 scopeid 0x1 
        inet 216.59.70.71 netmask 0xffffffff broadcast 216.59.70.71
        ether 00:48:54:6b:01:01 
        media: autoselect (none) status: active
        supported media: autoselect 100baseTX <full-duplex> 100baseTX
10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>
rl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
        inet6 fe80::248:54ff:fe80:4300%rl1 prefixlen 64 scopeid 0x2 
        ether 00:48:54:80:43:00 
        media: autoselect (100baseTX) status: active
        supported media: autoselect 100baseTX <full-duplex> 100baseTX
10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>

so, 216.59.70.70 is totally accesible from the outside, but 216.59.70.71
stopped working..  I have no firewall in place right now and my ipnat
config file looks like this:

map rl0 192.168.1.0/24 -> 216.59.70.70/32 portmap tcp/udp 10000:65000
map rl0 192.168.1.0/24 -> 216.59.70.70/32

I know the 216.59.70.71 is routing to my box because if I change the
primary ip address to that address and make 216.59.70.70 the alias then
the reverse works (216.59.70.71 works and 216.59.70.70 cant be reached)..

Strange, eh??  Can anyone help??  thanks..

Loren Koss
http://www.checkthegrid.com
Before you go to the movies...Check The Grid!



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




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