Re: (more) the coffee house broke my auto

From: Direk Yimlamai (orion.else_at_gmail.com)
Date: 12/20/04

  • Next message: Christopher Lowe: "XMLTV for Australia"
    Date: Mon, 20 Dec 2004 14:10:34 +0700
    To: emmajane@xtrinsic.com
    
    

    Sam Watkins wrote:

    >On Sat, Dec 18, 2004 at 11:56:25PM -0500, Emma Jane Hogbin wrote:
    >
    >
    >>ifconfig
    >> eth1 Link encap: Ethernet HWaddr 00:02:2D:56:0C:29
    >> inet addr: 192.168.1.101 Bcast: 192.168.1.255 Mask: 255.255.255.0
    >> UP BROADCAST RUNNING MULTICAST MUT:1500 Metric:1
    >>
    >>route -n
    >> Destination Gateway Genmask Flags Metric Ref Use Iface
    >> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
    >> 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth1
    >>
    >>
    >
    >This all looks right. Is the IP address of your gateway actually
    >192.168.1.1? I suppose it must be.
    >
    >What happens if you type:
    >
    > ping 216.239.63.104
    >
    >(that's www.google.com 's IP address)
    >
    >If that works, but ping www.google.com doesn't, it's your name service
    >that isn't working (/etc/resolv.conf is wrong). In that case, copy
    >across /etc/resolv.conf from the gateway. This should be right though,
    >dhcp should set it up.
    >
    >Other than that, all else I can think of is that masquerading has
    >stopped working on your gateway, but that's unlikely since it's the
    >laptop that must have changed at the cafe or whatever.
    >
    >Did you say whether you are using cables or wireless at home?
    >
    >I'm installing sarge on my laptop at the moment (I had been playing with
    >gentoo, it has some nice ideas, but I miss Debian!) I'm using possibly
    >the most weird partitioning scheme ever... well, certainly the weirdest
    >I've tried. I'll post about it if it works! :) and then you can all
    >tell me how I _should_ have done it :)
    >
    >
    >
    >
    Hello I'm orion_else
    I think my choice can be help you
    if you want to connect out to the internet you moust have real ip
    (register ip) and set forward by iptables

    -------------
    ------GW----- -------------
    : : :
    : : :
    : private :============:eth0 eth1:===============:
    Internet :
    : network : :
    : : :
    :host1 :
    --------------- -------------
    -------------
    2XX.XXX.5.0
    192.168.1.0

    Configuration
    =========
    STEP1

    GW set
    eth0 : ifconfig eth0 192.168.1.254 netmask 255.255.255.0 broadcast
    161.246.5.255
    eth1 : ifconfig eth1 2xx.xxx.5.254 netmask 255.255.255.0 broadcast
    2xxx.xxx.5.255
    route 2 network : route add default gw outer and route private network
    forward packet : echo '1' > /proc/sys/net/ipv4/ip_forward
    ---done---

    STEP2
    Host set
    host in private network zone set this :
    1. route add default gw 192.168.5.254

    STEP3
    Check configure
    At host in provate network zone
        ping 192.168.5.254
        ping 2xx.xxx.5.254
        ping 216.239.63.104

    you can ping them.

    P.S. If this answer can't help you I'm apologise in this mail ^^" I'm a
    newbies about linux....have a nice lives.

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Christopher Lowe: "XMLTV for Australia"

    Relevant Pages

    • Re: Getting "ICMP Host redirect from gateway" response
      ... I tried and succeeded in getting a REDIRECT response, ... I added a route with 192.168.0.10 as a gateway to a local host ...
      (comp.os.linux.networking)
    • Re: routing - newbie-question
      ... there because they have to use a gateway to do so. ... to that host. ... Well doesn't look like a private subnet behind SERV1. ... Try pinging the host with your normal route config. ...
      (comp.os.linux.networking)
    • Re: How to set default gw not by route command in linux?
      ... The developers of pppd made the arbitrary choice to have the 'defaultroute' option create the default route with the peer address as the gateway, ... The NAS advertises for itself the same address on all PPP links, so the host sees the same peer address on both links. ...
      (comp.os.linux.networking)
    • Re: simple routing setup ...
      ... It's not a problem routing a private network to the internet via another ... Simply connecting the interfaces and setting up the computer to route ... point to 172.17.0.1 as their default gateway, then you'll need to add a ...
      (comp.os.linux.networking)
    • Strange default route
      ... Until today it was set to add a default route ... It is using a gateway, ... The host behind that IP address belongs to my ISP (by ... What makes me nervous is that I didn't have any connection problems so ...
      (comp.os.linux.security)

    Loading