07-12-2018 05:44 AM - edited 03-05-2019 10:45 AM
Hi everyone I have cisco switchs does anyone know how on the WAN interface you can view the ip address that you received from your ISP?
07-12-2018 06:32 AM
Hi,
Have you tried with:
show ip interface brief or show interface <interface id>
07-12-2018 06:51 AM
07-12-2018 06:57 AM
Which switch do you have, and how are you getting the IP address (DHCP/negotiated) ?
07-12-2018 07:14 AM
That is a catalyst 2650 and 3560
these are connected to a cabel modem
07-12-2018 07:20 AM
Are you actually getting an IP address ? Is 'ip routing' enabled ? Post the output of 'show interfaces x' (where 'x' is the interface connected to the cable modem) anyway, as Julio suggested...
07-12-2018 07:47 AM
yes that is enablet
SW2 # sh interfaces gigabitEthernet 0/1
GigabitEthernet0 / 1 is up, line protocol is up (connected)
Hardware iSW2 # sh interfaces gigabitEthernet 0/1
GigabitEthernet0 / 1 is up, line protocol is up (connected)
Hardware is Gigabit Ethernet, address is 6c50.4d7a.ff01 (bia 6c50.4d7a.ff01)
MTU 1500 bytes, BW 100000 Kbit / sec, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive not set
Full-duplex, 100Mb / s, link type is auto, media type is 10/100 / 1000BaseTX
input flow control is off, output flow control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 1d04h, output 00:00:00, output never hangs
Last clearing or "show interface" counters never
Input queue: 0/75/0/0 (size / max / drops / flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size / max)
5 minute input rate 17000 bits / sec, 32 packets / sec
5 minute output rate 1000 bits / sec, 1 packets / sec
10517605 packets input, 1293449154 bytes, 0 no buffer
Received 10026495 broadcasts (35289 multicasts)
0 runts, 0 giants, 0 throttles
1 input errors, 1 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 35289 multicast, 0 pause input
0 input packets with dribble condition detected
385915 packets output, 47449082 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 unknown protocol drops
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 pause output
0 output buffer failures, 0 output buffers swapped outs Gigabit Ethernet, address is 6c50.4d7a.ff01 (bia 6c50.4d7a.ff01)
MTU 1500 bytes, BW 100000 Kbit / sec, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive not set
Full-duplex, 100Mb / s, link type is auto, media type is 10/100 / 1000BaseTX
input flow control is off, output flow control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 1d04h, output 00:00:00, output never hangs
Last clearing or "show interface" counters never
Input queue: 0/75/0/0 (size / max / drops / flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size / max)
5 minute input rate 17000 bits / sec, 32 packets / sec
5 minute output rate 1000 bits / sec, 1 packets / sec
10517605 packets input, 1293449154 bytes, 0 no buffer
Received 10026495 broadcasts (35289 multicasts)
0 runts, 0 giants, 0 throttles
1 input errors, 1 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 35289 multicast, 0 pause input
0 input packets with dribble condition detected
385915 packets output, 47449082 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 unknown protocol drops
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 pause output
0 output buffer failures, 0 output buffers swapped out
07-12-2018 07:49 AM
Is the interface configured as 'no switchport' ?
Post the running config...
07-12-2018 08:13 AM
07-12-2018 08:18 AM
Hello,
can you add 'no switchport' to that interface ?
interface GigabitEthernet0/1
--> no switchport
switchport mode access
ip dhcp server use subscriber-id client-id
ip dhcp client client-id GigabitEthernet0/1
07-12-2018 08:25 AM
I did that, but it is still the same
07-12-2018 08:28 AM
Hello,
typically you would need the command 'ip address dhcp' under the interface:
interface GigabitEthernet0/1
--> ip address dhcp
switchport mode access
ip dhcp server use subscriber-id client-id
ip dhcp client client-id GigabitEthernet0/1
Can you assign a static IP address to the interface, does the interface accept that ?
07-12-2018 08:50 AM
Okay that's okay, but now do not have internet
07-12-2018 08:55 AM
It just proves that you have a layer 3 interface.
Change everything back to what you had originally and run a traceroute from one of your client PCs, that should show you the IP address of the interface...
07-12-2018 09:02 AM
How can I see the ip address on wan interface as also have internet on all interfaces
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide