I was just going through yesterday's digest, and appologize for sending
a Linux related question :-(
PROBLEM:
When connected through kppp (Mandrake 8.1, external modem) I am not able
to reach any external address except the remote IP of my ISP dialup --
reason: all other requests use the IP of my local eth0 as return
(192.168.1.11)
Everything works fine if I 'ifdown eth0' before dialing and 'ifup eth0'
after I have connected. Really! -- please consider that in your response.
QUESTION:
Which process/conf-file is responsible for directing a request for an
external connection to ppp0, while, lets say 'ping 192.168.1.xxx' goes
through eth0 ?
(I have tried subnet mask 255.255.255.0 and 255.255.0.0)
ADDITIONAL INFO:
- For the problem it doesn't matter if I ping a domain name, a clear IP,
or an IP I have alias'd in my /etc/hosts (see ping report)
- ping report follows
- ifconfig status follows
- kppp negotiates with my ISP and temp. modifies resolve.conf (see below)
- I had that problem a couple of weeks ago ... but it 'magically' went
away after I had changed my local eth0 IP to a slightly different number
... now it came 'mysteriously' back after I added a new user and use kppp
as such.
Hopefully that's enough info (right kbob? - you suggested to post this)
- Horst.
ifconfig:
=========
eth0 Link encap:Ethernet HWaddr 52:54:05:F7:4D:A9
inet addr:192.168.1.11 Bcast:192.168.0.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:853
TX packets:0 errors:594 dropped:0 overruns:0 carrier:1188
collisions:10098 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:58494 (57.1 Kb)
Interrupt:10 Base address:0xd000
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:841 errors:0 dropped:0 overruns:0 frame:0
TX packets:841 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:170711 (166.7 Kb) TX bytes:170711 (166.7 Kb)
ppp0 Link encap:Point-to-Point Protocol
inet addr:206.163.180.22 P-t-P:206.163.184.193
Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:32 errors:2 dropped:0 overruns:0 frame:0
TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:2326 (2.2 Kb) TX bytes:2187 (2.1 Kb)
ping to ISP's dialup, and to another machine in that domain:
==========================================================
PING 206.163.184.193 (206.163.184.193) from 206.163.180.22 : 56(84) bytes
of data.
64 bytes from 206.163.184.193: icmp_seq=0 ttl=255 time=132.563 msec
64 bytes from 206.163.184.193: icmp_seq=1 ttl=255 time=129.976 msec
64 bytes from 206.163.184.193: icmp_seq=2 ttl=255 time=129.981 msec
64 bytes from 206.163.184.193: icmp_seq=3 ttl=255 time=129.995 msec
--- 206.163.184.193 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max/mdev = 129.976/130.628/132.563/1.201 ms
PING myefn (206.163.176.5) from 192.168.1.11 : 56(84) bytes of data.
>From [EMAIL PROTECTED] (192.168.1.11): Destination Host Unreachable
>From [EMAIL PROTECTED] (192.168.1.11): Destination Host Unreachable
>From [EMAIL PROTECTED] (192.168.1.11): Destination Host Unreachable
--- myefn ping statistics ---
5 packets transmitted, 0 packets received, +3 errors, 100% packet loss
resolve.conf (while connected):
================================
domain efn.org #kppp temp entry
search localnet efn.org
# ppp temp entry
nameserver 192.168.37.186 # ppp temp entry
nameserver 128.223.32.35 # ppp temp entry
nameserver 192.168.37.186 #kppp temp entry
nameserver 128.223.32.35 #kppp temp entry
########### the end of the story ##############