Re: ip default-gateway command does not work

2000-11-13 Thread Roman McDonald

Just use ip route 0.0.0.0 0.0.0.0 10.100.67.254
to set your default route.  IP default-gateway should only
be used if ip routing is disabled on the router.

Roman

At 06:36 PM 11/13/00 -0700, you wrote:
>I have a problem getting the "ip default-gateway" to work on my router.
>Please review the output below carefully to see what the problem is. I have
>also noticed that the "show ip route" command show that Gateway of last
>resort is not set
>
>your input is appreciated
>
>thanks
>
>Lists Wizard
>
>===
>Router-10(config)#ip default-gateway 10.100.67.254
>Router-10(config)#^Z
>Router-10#
>Router-10#ping 10.1.38.227
>
>Type escape sequence to abort.
>Sending 5, 100-byte ICMP Echos to 10.1.38.227, timeout is 2 seconds:
>.
>Success rate is 0 percent (0/5)
>Router-10#sh ip route
>Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
>D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
>N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
>E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
>i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate
>default
>U - per-user static route, o - ODR
>
>Gateway of last resort is not set
>
>  10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
>C   10.9.9.0/30 is directly connected, Ethernet0/1
>C   10.100.64.0/22 is directly connected, Ethernet0/0
>Router-10#config t
>Enter configuration commands, one per line.  End with CNTL/Z.
>Router-10(config)#no ip default-gateway
>Router-10(config)#ip route 10.1.38.227 255.255.255.255 10.100.67.254
>Router-10(config)#^Z
>Router-10#ping 10.1.38.227
>
>Type escape sequence to abort.
>Sending 5, 100-byte ICMP Echos to 10.1.38.227, timeout is 2 seconds:
>!
>Success rate is 100 percent (5/5), round-trip min/avg/max = 4/6/16 ms
>Router-10#
>
>
>__
>Do You Yahoo!?
>Talk to your friends online with Yahoo! Messenger.
>http://im.yahoo.com
>
>_
>FAQ, list archives, and subscription info: 
>http://www.groupstudy.com/list/cisco.html
>Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]


_
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]



ip default-gateway command does not work

2000-11-13 Thread Lists Wizard

I have a problem getting the "ip default-gateway" to work on my router.
Please review the output below carefully to see what the problem is. I have
also noticed that the "show ip route" command show that Gateway of last
resort is not set

your input is appreciated

thanks

Lists Wizard

===
Router-10(config)#ip default-gateway 10.100.67.254
Router-10(config)#^Z
Router-10#
Router-10#ping 10.1.38.227

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.38.227, timeout is 2 seconds:
.
Success rate is 0 percent (0/5)
Router-10#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
   D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
   N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
   E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
   i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate
default
   U - per-user static route, o - ODR

Gateway of last resort is not set

 10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C   10.9.9.0/30 is directly connected, Ethernet0/1
C   10.100.64.0/22 is directly connected, Ethernet0/0
Router-10#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router-10(config)#no ip default-gateway
Router-10(config)#ip route 10.1.38.227 255.255.255.255 10.100.67.254
Router-10(config)#^Z
Router-10#ping 10.1.38.227

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.38.227, timeout is 2 seconds:
!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/6/16 ms
Router-10#


__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

_
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]