Re: (more) the coffee house broke my auto
From: Direk Yimlamai (orion.else_at_gmail.com)
Date: 12/20/04
- Previous message: Alexander Schmehl: "Re: Noninteractive "apt-get upgrade "question."
- In reply to: Sam Watkins: "Re: (more) the coffee house broke my auto"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Alexander Schmehl: "Re: Noninteractive "apt-get upgrade "question."
- In reply to: Sam Watkins: "Re: (more) the coffee house broke my auto"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|