Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Displaying Gateway I.P - Command?

Hi,

When using DHCP on a cisco, how can I display the default gateway being received on the cisco?

Thx

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Bronze

Re: Displaying Gateway I.P - Command?

It should be listed on the show ip route

interface FastEthernet0/1

ip address dhcp

duplex auto

speed auto

sh ip int f0/1

FastEthernet0/1 is up, line protocol is up

Internet address is 192.168.1.1/24

Broadcast address is 255.255.255.255

Address determined by DHCP

sh ip route | i 0.0.0.0

Gateway of last resort is 192.168.1.254 to network 0.0.0.0

S* 0.0.0.0/0 [254/0] via 192.168.1.254

2 REPLIES
Hall of Fame Super Bronze

Re: Displaying Gateway I.P - Command?

It should be listed on the show ip route

interface FastEthernet0/1

ip address dhcp

duplex auto

speed auto

sh ip int f0/1

FastEthernet0/1 is up, line protocol is up

Internet address is 192.168.1.1/24

Broadcast address is 255.255.255.255

Address determined by DHCP

sh ip route | i 0.0.0.0

Gateway of last resort is 192.168.1.254 to network 0.0.0.0

S* 0.0.0.0/0 [254/0] via 192.168.1.254

New Member

Re: Displaying Gateway I.P - Command?

excellent, thanks

434
Views
0
Helpful
2
Replies
CreatePlease to create content