Re: Gateway in a different net

From: +Alan Hicks+ (alan_at_lizella.netWORK)
Date: 10/14/04

  • Next message: Joel Hatton: "Re: unattended portupgrade (continued)"
    Date: 14 Oct 2004 16:40:45 -0500
    
    

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    In comp.unix.bsd.freebsd.misc, Alexander Lapp dared to utter,
    > Unfortunately it is necessary to set up a route to another net to reach
    > the gateway. How can I realize this?

    Um, this shouldn't be possible. You can only reach machines on your
    local network address space as determined by your IP and netmask. To
    reach others, you have to pass through a gateway (a.k.a. router).

    > The server ip is: x.x.118.91 and the gateway to reach the net is
    > x.x.117.1.

    Most likely you have your netmask set wrong. You're probably using a
    255.255.255.0 netmask, which would let you reach IPs x.x.118.1-255.
    What happens if you use something like 255.255.0.0? Granted, that
    probably isn't your proper netmask and that can create problems
    reaching certain IP addresses, but should let you talk to that router.

    First thing to do is contact your ISP or network admin and verify that
    your IP settings are correct.

    - --
    It is better to hear the rebuke of the wise,
    Than for a man to hear the song of fools.
    Ecclesiastes 7:5
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.1 (GNU/Linux)

    iD8DBQFBbvIHlKR45I6cfKARAudjAJ4qRcNwKmLWCfvj0JcM+7fFTYM8kACaA+L1
    QWoG9Nnae+socoXtECyEi70=
    =FtzH
    -----END PGP SIGNATURE-----


  • Next message: Joel Hatton: "Re: unattended portupgrade (continued)"

    Relevant Pages

    • Re: Networking problem
      ... I'm not sure why the router doesn't "route" those ... the packets just get sent out on the local network device. ... (On my net, 10.1.1.1 is my gateway.) ...
      (Fedora)
    • Re: Xen in Etch, basic setup
      ... netmask 255.255.255.0 ... running as the gateway. ... Normally the eth1:1 and eth0 auto lines are ... was bouncing between this machine being the router and a wireless router ...
      (Debian-User)
    • Re: Xen in Etch, basic setup
      ... netmask 255.255.255.0 ... running as the gateway. ... Normally the eth1:1 and eth0 auto lines are ... was bouncing between this machine being the router and a wireless router ...
      (Debian-User)
    • Re: Gateway in a different net
      ... >local network address space as determined by your IP and netmask. ... you have to pass through a gateway. ... It also easy to make the local machine an router. ... And the OP never even said that those are on his local network. ...
      (comp.unix.bsd.freebsd.misc)
    • Re: Changing default gateway from the command line (fc3)
      ... > If it is still set to use a netmask of 255.255.255.0 things are unlikely ... What sort of device is it (I'm guessing Dlink ... The current default gateway is a Cisco router. ...
      (uk.comp.os.linux)