Routing after reconfiguration of interfaces

From: Andreas Höschler (ahoesch_at_smartsoft.de)
Date: 12/21/04

  • Next message: Marco Greene (ML): "SUMMARY: Freeware VPN Options"
    Date: Tue, 21 Dec 2004 19:38:51 +0100
    To: sunmanagers@sunmanagers.org
    
    

    Hello all,

    I got a few responses in the meanwhile but nothing did the trick so
    far. I have changed the ip-address an plumbed up the device. I have
    added a default route and can access the machine through the external
    interface. But the guy is not routing, inspite of

            /usr/sbin/ndd -set /dev/tcp ip_forwarding 1
            /etc/init.d/inetinit start
            /etc/init.d/inetsvc start

    And yes, in.routed is running. I even killed this guy and started it
    manually again. No way. Any more ideas?

    Thanks a lot!

    Regards,

       Andreas

    > Make sure IP forwarding is enabled, since 'plumb' could have disabled
    > it.
    >
    > "ndd -get /dev/ip ip_forwarding" --> to determine status;
    >
    > "ndd -set /dev/ip ip_forwarding 1" --> to enable
    >
    >
    >
    >
    > -----Original Message-----
    > From: sunmanagers-bounces@sunmanagers.org
    > [mailto:sunmanagers-bounces@sunmanagers.org] On Behalf Of Andreas
    > Hvschler
    > Sent: 20 December 2004 20:20
    > To: sunmanagers@sunmanagers.org
    > Subject: Routing after reconfiguration of interfaces
    >
    > Dear managers,
    >
    > I have two machines with two interfaces each. Both machines were
    > routing traffic from external interface to the internal one. I had to
    > change the external ip-addresses of the machines. I did this like so.
    >
    > ifconfig dmfe1 down
    > ifconfig dmfe1 <new ip-address> broadcast <broadcast> netmask <netmask>
    > plumb up
    >
    > After doing that routing no longer worked. I made sure there is still
    > no /etc/defaultrouter and also removed and readded the default route
    > (which hasn't changed) but still no success.
    >
    > In the meanwhile I have managed to get one of the machines back to
    > routing although I have no ideas how (I did a reboot, may be this did
    > the trick). I haven't rebooted the other machine. How can the
    > ip-addresses be changed without the need to reboot the machine. What am
    > I missing?
    >
    > Thanks a lot!
    >
    > Regards,
    >
    > Andreas
    > _______________________________________________
    > sunmanagers mailing list
    > sunmanagers@sunmanagers.org
    > http://www.sunmanagers.org/mailman/listinfo/sunmanagers
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: Marco Greene (ML): "SUMMARY: Freeware VPN Options"

    Relevant Pages

    • Re: Using netmask ffffffff
      ... machines connecting to an ISP. ... Again, routing is the reason. ... that are not designated to represent typical network or host addresses. ... depends on the routes. ...
      (comp.unix.bsd.freebsd.misc)
    • Re: Advice required for training room setup
      ... # Interface IP Configuration for "Local Area Connection" ... We also use a lot of virtual machines. ... > - Restore trainer's machine to latest Software A image, ...
      (microsoft.public.win2000.setup_deployment)
    • Re: Trains in Italy
      ... and hate those machines which reject notes ... originally had a very poor interface (they were mainly timetable ... Metro plus bus. ... He complains that with the new electronically operated doors he do ...
      (rec.travel.europe)
    • Re: Whats the best program CAD-CAM ?
      ... One Makino vs. three ... > Fadals. ... Good machines are very cost ... >>> working of the interface of any particular the program will be to ...
      (alt.machines.cnc)
    • Re: em problems on supermicro 5015M-MT+
      ... We have 3 supermicro 5015M-MT+ machines that are identical hw ... When one of the 64 bit systems tries to communicate with the 32 bit box or any ... 320KB/s when interface is in 100baseTX full-duplex ... If nobody can come up with any good ideas we will probably try installing 32 ...
      (freebsd-net)