cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
628
Views
0
Helpful
2
Replies

Displaying Gateway I.P - Command?

danny9797
Level 1
Level 1

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

Edison Ortiz
Hall of Fame
Hall of Fame

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

View solution in original post

2 Replies 2

Edison Ortiz
Hall of Fame
Hall of Fame

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

excellent, thanks

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: