Re: default route (back again)


Subject: Re: default route (back again)
From: Peter Q. Olsson (olsson@koyukuk.at.uaa.alaska.edu)
Date: Thu Mar 13 2003 - 14:41:15 AKST


Arthur and all-

at Tue, 11 Mar 2003 08:22:47 -0900 (AKST), Arthur Corliss writes

> The below is good info, but could you also send the output of netstat -in and
>-rn with both interfaces up?
>

######### Here is your request fulfilled-
############################## begin snippet ######################
iliamna:/users/olsson,118-> netstat -in
Kernel Interface table
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
eth1 1500 0 1484 0 0 0 2283 0 0 0 BM
RU
lo 16436 0 2786 0 0 0 2786 0 0 0 LR
U
ppp0 1500 0 3 0 0 0 4 0 0 0 MO
PRU
iliamna:/users/olsson,119-> netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
137.229.98.33 0.0.0.0 255.255.255.255 UH 40 0 0 ppp0
192.168.10.0 0.0.0.0 255.255.255.0 U 40 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0 lo
0.0.0.0 192.168.10.1 0.0.0.0 UG 40 0 0 eth1

######### kill ppp, bring down eth1 interface
[root@iliamna root]# ifconfig eth1 down

########## restart ppp

[root@iliamna root]# netstat -in
Kernel Interface table
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
lo 16436 0 3165 0 0 0 3165 0 0 0 LR
U
ppp0 1500 0 3 0 0 0 4 0 0 0 MO
PRU
[root@iliamna root]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
137.229.98.33 0.0.0.0 255.255.255.255 UH 40 0 0 ppp0
127.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0 lo
0.0.0.0 137.229.98.33 0.0.0.0 UG 40 0 0 ppp0

### Now, can talk to the outside world, but not the local network...

############################## end snippet ######################

>On Mon, 10 Mar 2003, Peter Q. Olsson wrote:
>
>> [root@iliamna etc]# more /etc/resolv.conf
>> nameserver 137.229.141.15
>> nameserver 137.229.141.25
>> nameserver 137.229.99.99
>> nameserver 137.229.10.39 #kppp temp entry
>> nameserver 137.229.12.41 #kppp temp entry
>>
>> ### the comments in resolv.conf are put there by kppp
>>
>> [root@iliamna etc]# ping 137.229.141.15
>> PING 137.229.141.15 (137.229.141.15) from 192.168.10.20 : 56(84) bytes of
data.
>> >From 192.168.10.20 icmp_seq=1 Destination Host Unreachable
>> >From 192.168.10.20 icmp_seq=2 Destination Host Unreachable
>> >From 192.168.10.20 icmp_seq=3 Destination Host Unreachable
>>
>> [root@iliamna etc]# ifconfig eth1 down
>> [root@iliamna etc]# ifconfig
>> 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:601 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:601 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:0
>> RX bytes:178387 (174.2 Kb) TX bytes:178387 (174.2 Kb)
>>
>> ppp0 Link encap:Point-to-Point Protocol
>> inet addr:137.229.98.42 P-t-P:137.229.98.33 Mask:255.255.255.255
>> UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
>> RX packets:5 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:3
>> RX bytes:3066 (2.9 Kb) TX bytes:84 (84.0 b)
>>
>> [root@iliamna etc]# ping 137.229.141.15
>> connect: Network is unreachable
>>
>> ########### kill ppp process
>>
>> [1]+ Done kppp
>>
>> [root@iliamna etc]# ifconfig eth1 down
>> {root@iliamna etc]# kppp &
>> [1] 27634
>>
>> ############## establish ppp connection via terminal-based gui login
>>
>>
>> [root@iliamna etc]# ifconfig
>> 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:601 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:601 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:0
>> RX bytes:178387 (174.2 Kb) TX bytes:178387 (174.2 Kb)
>>
>> ppp0 Link encap:Point-to-Point Protocol
>> inet addr:137.229.98.36 P-t-P:137.229.98.33 Mask:255.255.255.255
>> UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
>> RX packets:4 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:3
>> RX bytes:149 (149.0 b) TX bytes:124 (124.0 b)
>>
>> [root@iliamna etc]# ping 137.229.141.15
>> PING 137.229.141.15 (137.229.141.15) from 137.229.98.36 : 56(84) bytes of
data.
>> 64 bytes from 137.229.141.15: icmp_seq=1 ttl=125 time=263 ms
>> 64 bytes from 137.229.141.15: icmp_seq=2 ttl=125 time=195 ms
>>
>> ############ note that now, the ping comes from 137.229.98.36, not
192.168.10.20.
>>
>> PQO
>>
>> __________________________________________________________________
>> | |
>> | Dr. Peter Q. Olsson, |
>> | Chief Scientist, Alaska Experimental Forecast Facility |
>> | University of Alaska Anchorage |
>> | 2811 Merrill Field Drive |
>> | Anchorage, AK 99501 |
>> | voice: (907) 264-7449 |
>> | fax : (907) 264-7444 |
>> | olsson@aeff.at.uaa.alaska.edu |
>> |__________________________________________________________________|
>>
>>
>>
>> ---------
>> To unsubscribe, send email to <aklug-request@aklug.org>
>> with 'unsubscribe' in the message body.
>>
>
> --Arthur Corliss
> Bolverk's Lair -- http://arthur.corlissfamily.org/
> Digital Mages -- http://www.digitalmages.com/
> "Live Free or Die, the Only Way to Live" -- NH State Motto
>
>
>---------
>To unsubscribe, send email to <aklug-request@aklug.org>
>with 'unsubscribe' in the message body.
>

    __________________________________________________________________
   | |
   | Dr. Peter Q. Olsson, |
   | Chief Scientist, Alaska Experimental Forecast Facility |
   | University of Alaska Anchorage |
   | 2811 Merrill Field Drive |
   | Anchorage, AK 99501 |
   | voice: (907) 264-7449 |
   | fax : (907) 264-7444 |
   | olsson@aeff.at.uaa.alaska.edu |
   |__________________________________________________________________|

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Thu Mar 13 2003 - 14:44:16 AKST