[ale] followup: bellsouth.net adsl setup

James P. Kinney III jkinney at localnetsolutions.com
Sat Mar 2 13:27:23 EST 2002


Ah Ha!

You shouldn't have an ip address for the ethernet card. 

The first block of stuff below is from
/etc/sysconfig/network-scripts/ifcfg-eth0 my internal LAN card:
DEVICE=eth0
IPADDR=192.168.0.2
NETMASK=255.255.255.0
ONBOOT=yes
BOOTPROTO=none
IPXPRIMARY_802_2="no"
IPXACTIVE_802_2="no"
IPXPRIMARY_802_3="no"
IPXACTIVE_802_3="no"
IPXPRIMARY_ETHERII="no"
IPXACTIVE_ETHERII="no"
IPXPRIMARY_SNAP="no"
IPXACTIVE_SNAP="no"
TYPE=Ethernet
USERCTL=no
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
PEERDNS=no

This is from the second interface, my dsl card:
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=none
IPXPRIMARY_802_2="no"
IPXACTIVE_802_2="no"
IPXPRIMARY_802_3="no"
IPXACTIVE_802_3="no"
IPXPRIMARY_ETHERII="no"
IPXACTIVE_ETHERII="no"
IPXPRIMARY_SNAP="no"
IPXACTIVE_SNAP="no"
TYPE=Ethernet
USERCTL=no
PEERDNS=no


The problem you are having is the routing of packets doesn't know how to
get anywhere. I'll bet if you run "netstat -rn"  (mine below):
netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface
66.149.133.1    0.0.0.0         255.255.255.255 UH       40 0          0
ppp0
192.168.0.0     0.0.0.0         255.255.255.0   U        40 0          0
eth0
127.0.0.0       0.0.0.0         255.0.0.0       U        40 0          0
lo
0.0.0.0         66.149.133.1    0.0.0.0         UG       40 0          0
ppp0


You won't see the Gateway address pointing to your ppp0 interface, but
will see it pointing to your eth0 interface. 

You should be able to clean this up by simply deleting the IPadress and
netmask lines from the ifcfg-eth0 file and restart networking.


On Sat, 2002-03-02 at 12:09, Ian Kennedy wrote:
> Thanks for such a quick response. Here is what I've discovered so far:
> 
> I can ping my ethernet card at 10.0.0.10, I am using DHCP, I'm not sure the IP address of my modem, but it seems to be operating fine (see below).
> 
> The output I get from adsl-start is this:
> 
> pppd 2.4.1 started by root, uid 0
> using interface ppp0
> (this one is from pppoe) connect: ppp0 <--> /dev/pts/0
> ppp session is 1374
> remote message: CHAP authentication success, unit 955
> not replacing existing default route to eth0 [0.0.0.0]
> local IP address 67.34.134.167
> remote IP address 67.34.134.1
> primary DNS address 205.152.37.254
> secondary DNS address 205.152.0.5
> 
> I can ping my local and remote IP addresses fine, but when I ping my DNS servers, I get this message: "From 10.0.0.10: Destination Host Unreachable"... this is where my problem is, isn't it? It shouldn't be trying to ping from 10.0.0.10?
> 
> John, I will see if I can get a static IP today and put it in my resolv.conf file.
> 
> Thanks again,
> Ian
> 
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
> sent to listmaster at ale dot org.
> 
-- 
James P. Kinney III   \Changing the mobile computing world/
President and COO      \          one Linux user         /
Local Net Solutions,LLC \           at a time.          /
770-493-8244             \.___________________________./

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7 



 This is a digitally signed message part




More information about the Ale mailing list