Re: [SLUG] NAT

From: Bill Triplett (btt@nethouse.com)
Date: Wed Jan 09 2002 - 10:54:43 EST


On Wed, Jan 09, 2002 at 07:46:40AM -0500, Russell Hires wrote:
> > Why is your IP assigned to ppp0?
>
> I don't know. I have to run PPPoE, and seems that that's just the way that
> it's done. Here's my ifconfig setup:
> poet:/home/rusty# ifconfig
> eth0 Link encap:Ethernet HWaddr 00:05:02:83:0D:84
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:3446 errors:0 dropped:0 overruns:0 frame:0
> TX packets:3474 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:100
> RX bytes:1052540 (1.0 MiB) TX bytes:234860 (229.3 KiB)
> Interrupt:42 Base address:0xf000
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:53 errors:0 dropped:0 overruns:0 frame:0
> TX packets:53 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:5078 (4.9 KiB) TX bytes:5078 (4.9 KiB)
>
> ppp0 Link encap:Point-to-Point Protocol
> inet addr:4.33.36.83 P-t-P:4.33.36.1 Mask:255.255.255.255
> UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
> RX packets:313 errors:0 dropped:0 overruns:0 frame:0
> TX packets:285 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:3
> RX bytes:207557 (202.6 KiB) TX bytes:15519 (15.1 KiB)
>
>
> > Why not run dhcp and get your IP from
> > eth0 when the machine comes up (assuming the DSL modem is up and running
> > at the time)? I assume your eth0 is connected to the DSL modem?
> Yes...I think PPPoE is the culprit. I'm afraid to ask earthlink (my isp) for
> help, since I'm running Linux, and they want to sell their home networking
> package (surprise)....

Should work. If you've already tried it and failed, what setup were
you trying? This might be of help:

http://netfilter.samba.org/unreliable-guides/NAT-HOWTO/NAT-HOWTO.linuxdoc-4.html#ss4.1

good luck...



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:29:50 EDT