update Re: [Techtalk] interfacing ppp0 with eth0 ?

mic mic at linefeed.org
Fri Jan 2 17:35:40 EST 2004


summary:
-gateway comp is on-line (thanks)
-lan is functioning (right now as we speak i am sshing into the gateway
from a lan comp)
-this lan comp can not get access on-line otherwise

long story:
okay, thanks very much, i am getting there...
removing the self-referencing gateway line did the trick right away.  and
i was able to get the gateway comp on-line using:
-----------------------------------------------------------
-su-2.05b# cat /etc/network/interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
# automatically added when upgrading
auto lo eth0 eth1
iface lo inet loopback

# wan
iface ppp0 inet ppp
        provider dsl-provider

## or is it?, or some other combo such as???:
## wan
# iface eth0 inet ppp
#       provider dsl-provider

# lan
iface eth1 inet static
        address 10.0.0.1
        netmask 255.0.0.0
 --------------------------------------------------------------

i couldn't think of why to give eth0 an ip address, so other than auto, i
ignored it

---------------------------------------------------------------
-su-2.05b# plog
Jan  2 16:53:28 feral pppd[750]: Using interface ppp0
Jan  2 16:53:28 feral pppd[750]: Connect: ppp0 <--> /dev/pts/0
Jan  2 16:53:30 feral pppd[750]: PAP authentication succeeded
Jan  2 16:53:30 feral pppd[750]: Cannot determine ethernet address for
proxy ARP
Jan  2 16:53:30 feral pppd[750]: local  IP address 66.123.201.xxx
Jan  2 16:53:30 feral pppd[750]: remote IP address 66.123.200.254
Jan  2 16:53:30 feral pppd[750]: primary   DNS address 206.13.28.12
Jan  2 16:53:30 feral pppd[750]: secondary DNS address 206.13.29.12

--- 206.23.28.12 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4012ms


-su-2.05b# ping 206.13.28.12
PING 206.13.28.12 (206.13.28.12) 56(84) bytes of data.
64 bytes from 206.13.28.12: icmp_seq=1 ttl=251 time=12.6 ms
64 bytes from 206.13.28.12: icmp_seq=2 ttl=251 time=13.4 ms

--- 206.13.28.12 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1007ms
rtt min/avg/max/mdev = 12.612/13.041/13.471/0.444 ms


-su-2.05b# netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags MSS Window irtt Iface
66.123.200.254  0.0.0.0         255.255.255.255 UH      0 0         0 ppp0
10.0.0.0        0.0.0.0         255.0.0.0       U       0 0         0 eth1
0.0.0.0         66.123.200.254  0.0.0.0         UG      0 0         0 ppp0
----------------------------------------------------------------
as i understand it,
-line 1 says that anything destined for the outside world should go
through ppp0
-line 2 says that anything destined for 10.x.x.x should go thru the eth1
and this is the line that i need to add some firewalling on.
-line 3 says that to go anywhere from the lan, use ppp0

so i am not so sure why i am not getting on line from this lan comp, but i
am sure there could still be many reasons.

thanks again.
thanks again,
mic


---------------------------------------------------------------------
************* A Network can be the Opposite of a Hierachy ***********





More information about the Techtalk mailing list