Re: Bug in routing tables ?

From: Brian Candler (B.Candler_at_pobox.com)
Date: 11/25/05

  • Next message: Ricardo A. Reis: "Re: Bug in routing tables ?"
    Date: Fri, 25 Nov 2005 14:37:17 +0000
    To: "Ricardo A. Reis" <ricardo_bsd@yahoo.com.br>
    
    

    On Thu, Nov 24, 2005 at 02:28:37PM -0200, Ricardo A. Reis wrote:
    > I insert this route in my workstation for network test,
    >
    > #route add -net 200.144.xx.xx 255.255.254.0 172.22.x.x

    Linux user I bet ;-)

    For FreeBSD you need:
    #route add -net 200.144.xx.xx -netmask 255.255.254.0 172.22.x.x

    > Internet:
    > Destination Gateway Flags Refs Use Netif Expire
    > default 200.144.xx.xxx UGS 1 13407 rl0
    > 127.0.0.1 127.0.0.1 UH 0 46 lo0
    > 136.16&0xac160181 255.255.254.0 UGS 0 34 rl0

    As you can see, 255.255.254.0 was interpreted as the gateway, not the
    netmask.
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Ricardo A. Reis: "Re: Bug in routing tables ?"

    Relevant Pages

    • Re: before I could ping, now I cant
      ... You could try 207.237.37.1 or .254 for gateway. ... protocol with the ISP will then transfer the gateway and network info ... To UNSUBSCRIBE, email to debian-user-REQU...@xxxxxxxxxxxxxxxx ... netmask, gateway, etc. ...
      (Debian-User)
    • Re: Cannot connect to network anymore
      ... netmask and gateway And try a /etc/network/interfaces config file as this followind one: ... address "put here the ip address without the quotes" ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • RE: how to auto connect to freebsd
      ... LAN behind FreeBSD gateway Box and fix your problems. ... how to auto connect to freebsd ... To unsubscribe, ...
      (freebsd-questions)
    • Multi NIC and Multi IP problem
      ... same gateway a.b.c.254 ... iface lo inet loopback ... netmask 255.255.255.0 ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: Router with one ethernet card
      ... > Actually I'm giving Internet access to him through windows ics. ... > Is it possible to use the Freebsd box as a gateway to the Internet ... To unsubscribe, ...
      (freebsd-newbies)