cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1957
Views
0
Helpful
27
Replies

WAN ISP

pcfreak49
Level 1
Level 1

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?

27 Replies 27

Hi,

Have you tried with:

show ip interface brief or show interface <interface id>




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

 
I have done show interface letter, unassigned for all interfaces

Which switch do you have, and how are you getting the IP address (DHCP/negotiated) ?

That is a catalyst 2650 and 3560

these are connected to a cabel modem

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...

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

Is the interface configured as 'no switchport' ?

 

Post the running config...

Building configuration...
 
Current configuration : 3216 bytes
!
! Last configuration change at 09:59:26 UTC Mon Mar 8 1993
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname SW2
!
boot-start-marker
boot-end-marker
!
!
!
username Tim privilege 15 secret 5 $1$3JHd$JU/Ni8jnFR5P/bHJkw1VJ0
aaa new-model
!
!
!
!
!
!
!
aaa session-id common
system mtu routing 1500
ip routing
ip domain-name cursist.local
ip name-server 195.130.130.131
ip name-server 195.130.131.4
ip name-server 195.130.130.132
ip name-server 195.130.131.132
ip name-server 195.130.131.5
ip name-server 195.130.131.11
!
!
!
ip dhcp-server 195.130.137.21
!
!
crypto pki trustpoint TP-self-signed-1299906304
 enrollment selfsigned
 subject-name cn=IOS-Self-Signed-Certificate-1299906304
 revocation-check none
 rsakeypair TP-self-signed-1299906304
!
!
crypto pki certificate chain TP-self-signed-1299906304
 certificate self-signed 01
  3082023B 308201A4 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
  31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
  69666963 6174652D 31323939 39303633 3034301E 170D3933 30333031 30303030
  35395A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
  4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D31 32393939
  30363330 3430819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
  8100ADF0 D86D4462 0ED801BC F4E19DB6 5E5603B6 ADBDDFD7 0B907877 00A2B6A7
  9AF4C4C9 E1466564 6B6E7888 17252397 673FD517 E16073DE 65E41B85 F28F036E
  9B037232 F3A9E155 38886A12 A1620BF9 B3FF0E30 B6CEA0C1 F7E85F35 D96C389B
  90DC9EB8 5B7EC9D4 D537014B 852DCF8C C30CD66D 1020D14E 3B5CB11B B851D4AC
  BB2B0203 010001A3 63306130 0F060355 1D130101 FF040530 030101FF 300E0603
  551D1104 07300582 03535732 301F0603 551D2304 18301680 140462FA 0161975C
  AAFDE666 4D68D301 F7A305C9 21301D06 03551D0E 04160414 0462FA01 61975CAA
  FDE6664D 68D301F7 A305C921 300D0609 2A864886 F70D0101 04050003 81810029
  C7C734E1 D41A37CB 821AFEF1 8F6BC7C3 DCA77770 3D91F79A 270138B6 DEA3E76F
  A5ADA086 935FC70B 0AF0C95F 5F448050 E27BEE51 B8ABC8F9 99B6D92F 46196F76
  F6EDFC39 9C89DF75 BDD3A28B DCC1D9DC 9245A12C 78B4ED0C EC7C3D75 F8D177BB
  74915694 941E2548 6FA695FF BE1BC537 90E97930 DEBAEC6E 5C105CFE 4FA463
        quit
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
!
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface GigabitEthernet0/1
 switchport mode access
 ip dhcp server use subscriber-id client-id
 ip dhcp client client-id GigabitEthernet0/1
!
interface Vlan1
 no ip address
!
ip default-gateway 81.82.48.1
ip http server
ip http secure-server
!
!
!
logging esm config
!
!
!
!
!
line con 0
line vty 0
 privilege level 15
 transport input telnet ssh
line vty 1
 privilege level 15
 no exec
 transport preferred none
 transport input telnet ssh
line vty 2 4
 privilege level 15
 transport input telnet ssh
line vty 5 15
 privilege level 15
 transport input telnet ssh
!
scheduler max-task-time 5000
end
 

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

I did that, but it is still the same

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 ?

Okay that's okay, but now do not have internet

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...

How can I see the ip address on wan interface as also have internet on all interfaces

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: