[ultraviolet@epweb.co.za: Re: Natd, ethernet interface with aliases.]

From: William Fletcher (ultraviolet_at_epweb.co.za)
Date: 08/20/03

  • Next message: Johan Paul: "Re: Probing for RAID array status?"
    Date: Wed, 20 Aug 2003 17:08:17 +0200
    To: freebsd-questions@freebsd.org
    
    
    

    Hmm.

    ----- Forwarded message from William Fletcher <ultraviolet@epweb.co.za> -----

    Date: Wed, 20 Aug 2003 17:07:44 +0200
    From: William Fletcher <ultraviolet@epweb.co.za>
    To: Chuck Swiger <cswiger@mac.com>
    Subject: Re: Natd, ethernet interface with aliases.
    Reply-To: ultraviolet@epweb.co.za
    In-Reply-To: <3F438C5C.3030802@mac.com>
    User-Agent: Mutt/1.4i

    Alright ;-)

    ed1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
            inet 192.168.52.53 netmask 0xffffff00 broadcast 192.168.52.255
            inet6 fe80::200:e8ff:fe2d:71dd%ed1 prefixlen 64 scopeid 0x1
            ether 00:00:e8:2d:71:dd
    ed2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
            inet6 fe80::200:21ff:fe20:f11%ed2 prefixlen 64 scopeid 0x2
            inet 196.14.166.30 netmask 0xffffffe0 broadcast 196.14.166.31
            inet 192.168.2.30 netmask 0xffffff00 broadcast 192.168.2.255
            ether 00:00:21:20:0f:11
    lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
            inet6 ::1 prefixlen 128
            inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
            inet 127.0.0.1 netmask 0xff000000
    gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
            tunnel inet 196.14.166.30 --> 196.14.166.22
            inet6 fe80::200:e8ff:fe2d:71dd%gif0 prefixlen 64 scopeid 0x4
            inet 192.168.53.53 --> 192.168.53.54 netmask 0xffffffff

    rc.conf.
    # Daemons.
    natd_enable="YES"
    natd_interface="ed2"
    natd_flags="-m"

    Alright, the problem is...

    I cannot connect to anything above 192.168.2.31, Like, 192.168.2.60, etc.
    Which is our internal network at work. ed1 is my internal interface.
    But, It seems to have something to do with the subnet mask on ed2.

    On Wed, Aug 20, 2003 at 10:57:32AM -0400, Chuck Swiger wrote:
    > William Fletcher wrote:
    > [ ... ]
    > >ed2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    > > inet6 fe80::200:21ff:fe20:f11%ed2 prefixlen 64 scopeid 0x2
    > > inet 197.11.246.7 netmask 0xffffffe0 broadcast 197.11.246.31
    > > inet 192.168.2.30 netmask 0xffffff00 broadcast 192.168.2.255
    > > ether 00:00:21:20:0f:11
    > >
    > >Everything I try send out to 192.168.2.30 and above, 31, 32, etc, etc.
    > >It doesn't "translate", tcpdump shows the packets coming directly from
    > >my internal hosts...
    > >
    > >Is there anyway to solve this? Or is there a reason why it won't work?
    >
    > Try the "-unregistered_only" (-u) flag to NATD, or at least show us more
    > information about how you've configured NAT.
    >
    > --
    > -Chuck

    -- 
    William Fletcher (ultraviolet)		      Powered by http://www.FreeBSD.org/
    IT Administrator, EPWeb networks.	                  irc at irc.epweb.co.za
    http://www.epweb.co.za/				       http://vision.za.net/irc/
    Tel: +27 (041) 395 6800					          
    Fax: +27 (041) 395 6818	
    Support: support@epweb.co.za
     "To see what is in front of one's nose needs a constant struggle.." 
                                                              - George Orwell
    This email and the content are subject to a disclaimer at the following link:
    http://www.epweb.co.za/corp/disclaimer.htm
    ----- End forwarded message -----
    -- 
    William Fletcher (ultraviolet)		      Powered by http://www.FreeBSD.org/
    IT Administrator, EPWeb networks.	                  irc at irc.epweb.co.za
    http://www.epweb.co.za/				       http://vision.za.net/irc/
    Tel: +27 (041) 395 6800					          
    Fax: +27 (041) 395 6818	
    Support: support@epweb.co.za
     "To see what is in front of one's nose needs a constant struggle.." 
                                                              - George Orwell
    This email and the content are subject to a disclaimer at the following link:
    http://www.epweb.co.za/corp/disclaimer.htm
    
    



  • Next message: Johan Paul: "Re: Probing for RAID array status?"

    Relevant Pages

    • Re: PATCH: VLAN support for 3c59x/3c90x
      ... >>ethernet interface, so you do not generally want it's MTU to be set ... >>anything that actually cares about MTU. ... I am less certain that VLAN should modify any MTU based on this ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: PATCH: VLAN support for 3c59x/3c90x
      ... > ethernet interface, so you do not generally want it's MTU to be set ... > anything that actually cares about MTU. ... other drivers such as 802_1q, and let only the IP stack rely on dev->mtu. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)