cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2816
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

Hello,

 

try and shut/no shut the interface, you should get a DHCP related console message telling you which address has been assigned...

it does not work, I did the interface no switchport that I am connected to does not work either

Try;

show ip interface gi0/1

show ip interface brief (as mentioned earlier). You may share the output.

You could also try to get into the modem to view the leased ip addresses and associated macs.

But..

On second thought it looks like this switch is merely extending the broadcast domain of the cable modem switchport that its connected to. And since you say that all ports have internet, that may very well be the case. Can you confirm the addresses of one of the devices plugged in to the switch.

 

Remember to rate helpful posts and/or mark as a solution if your issue is resolved.

Current configuration : 2531 bytes

!
! Last configuration change at 00:19:11 UTC Mon Mar 1 1993
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Switch
!
boot-start-marker
boot-end-marker
!
!
!
aaa new-model
!
!
!
!
!
!
!
aaa session-id common
system mtu routing 1500
ip routing
!
!
!
!
!
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
  3082023E 308201A7 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
  31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
  69666963 6174652D 31323939 39303633 3034301E 170D3933 30333031 30303031
  30345A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
  4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D31 32393939
  30363330 3430819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
  8100EB23 0127F802 F10FE902 A16D8CB4 B7801E86 9C977A38 C585F957 420DD666
  272E578D 6347E4A9 1F97484C FFB4D1DE AE48A6F8 74E34362 29E12BAA 0C449F84
  EA1E3BBD E29B4FD2 F6C82E50 08A5467A 7862E2F5 33977D7D 8A0CE9B9 0A6898B8
  070FB2DA B31EB59C 52F90E61 E0D4DFA8 C7F465B6 E5389784 36F17C58 F32C85E2
  5CC10203 010001A3 66306430 0F060355 1D130101 FF040530 030101FF 30110603
  551D1104 0A300882 06537769 74636830 1F060355 1D230418 30168014 4EDF4627
  34B48C68 92A2DA6B 56F4F2F9 9510F66B 301D0603 551D0E04 1604144E DF462734
  B48C6892 A2DA6B56 F4F2F995 10F66B30 0D06092A 864886F7 0D010104 05000381
  8100465D 1B8EA66C 681D412C 6B0C36DC 3657EC36 E46801B7 6C05DE44 AE9CC189
  64C75CE1 676D4D0E C1982244 1EF009D2 E06290FA 7C8BC160 1EB03012 3A33DFC9
  BEEFC705 AE0DCF62 A5D611E9 9ECBDF08 CBA930E3 1B5CC563 9C68153B 583C2435
  43B27EAB 4938BA14 E3084E39 56934809 12A82C29 33E66207 2E8CABC3 A96D7DD5 1E2D
        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
 ip dhcp client client-id GigabitEthernet0/1
!
interface Vlan1
 no ip address
!
ip http server
ip http secure-server
!
!
!
logging esm config
!
!
!
!
!
line con 0
line vty 5 15
!
end
Switch#sh ip interface brief
Interface              IP-Address      OK? Method Status                Protocol
Vlan1                  unassigned      YES NVRAM  up                    up
FastEthernet0/1        unassigned      YES unset  down                  down
FastEthernet0/2        unassigned      YES unset  down                  down
FastEthernet0/3        unassigned      YES unset  up                    up
FastEthernet0/4        unassigned      YES unset  down                  down
FastEthernet0/5        unassigned      YES unset  down                  down
FastEthernet0/6        unassigned      YES unset  down                  down
FastEthernet0/7        unassigned      YES unset  down                  down
FastEthernet0/8        unassigned      YES unset  down                  down
GigabitEthernet0/1     unassigned      YES unset  up                    up

Hi,

How is the topology of your network, apparently there is no interface with dhcp configuration (show ip interface brief), the interface should be working as layer 3. 




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

the toplogie is first the cabel modem is connected to a dlink which is connected to switches

SW2 # sh run
Building configuration ...

Current configuration: 2828 bytes
!
version 12.2
no service path
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 $ 1uIK $ 2ycLCcNbGY9AXwvBWSC4t0
username Cursist privilege 15 secret 5 $ 1 $ skw0 $ oq.dbVFD / vJDE1QpUttut /
username remote privilege 15 secret 5 $ 1 $ jl.L $ uOd3ziOFqJi4AJrUOXv601
aaa new model
!
!
!
!
!
!
!
aaa session-id common
system mtu routing 1500
ip routing
!
!
!
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
  30820246 308201AF 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
  8100EB23 0127F802 F10FE902 A16D8CB4 B7801E86 9C977A38 C585F957 420DD666
  272E578D 6347E4A9 1F97484C FFB4D1DE AE48A6F8 74E34362 29E12BAA 0C449F84
  EA1E3BBD E29B4FD2 F6C82E50 08A5467A 7862E2F5 33977D7D 8A0CE9B9 0A6898B8
  070FB2DA B31EB59C 52F90E61 E0D4DFA8 C7F465B6 E5389784 36F17C58 F32C85E2
  5CC10203 010001A3 6E306C30 0F060355 1D130101 FF040530 030101FF 30190603
  551D1104 12301082 0E535732 2E74656C 656E6574 2E626530 1F060355 1D230418
  30168014 4EDF4627 34B48C68 92A2DA6B 56F4F2F9 9510F66B 301D0603 551D0E04
  1604144E DF462734 B48C6892 A2DA6B56 F4F2F995 10F66B30 0D06092A 864886F7
  0D010104 05000381 81008003 F73033FA F4410D2D A84D9842 04B2D5EC 8022F887
  D182F850 B0265FD5 A6DA29C7 7AF29EF5 F6ECE76C C3B9046D 8B899379 22D58C42
  C7A1A9B1 D4D9A249 63855702 A66CFE5D 9E15EE3E 706A6941 63075F72 45E1FC36
  B1E5DCE9 C02F9645 16A069E5 7CBE2DB2 4DEE3CEB BFA0A464 A97C067B CEB4B7B3
  FD9B069A C6C58ED3 D37E
        quit
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
ip ssh rsa keypair-name SW2.local
ip ssh version 2
!
!
!
!
!
!
FastEthernet0 / 1 interface
!
FastEthernet0 / 2 interface
!
FastEthernet0 / 3 interface
!
FastEthernet0 / 4 interface
!
interface FastEthernet0 / 5
!
interface FastEthernet0 / 6
!
FastEthernet0 / 7 interface
!
FastEthernet0 / 8 interface
!
GigabitEthernet0 / 1 interface
 no switchport
 ip address dhcp
!
Vlan1 interface
 no ip address
!
ip default gateway 84.197.88.1
ip http server
ip http secure server
!
!
!
logging esm config
!
!
!
!
!
line con 0
line vty 5 15
 transport input all
!
end

Hello,

 

what is the purpose of the D-Link ? Why not hook the switches up directly to the cable modem ?

because cable modem only has 1 ethernet and has two switches

Hello,

 

so the D-Link is basically just a hub. 

 

I doubt that you Cisco switch interface will receive an IP address at all. Which IP addresses do your clients have ? And which default gateway ?

i get on my wan an ip of the dhcp now open the standard ports how can i close it

 

SW2#sh ip interface brief

Interface              IP-Address      OK? Method Status                Protocol
Vlan1                  unassigned      YES NVRAM  up                    down
FastEthernet0/1        unassigned      YES unset  down                  down
FastEthernet0/2        unassigned      YES unset  down                  down
FastEthernet0/3        unassigned      YES DHCP   up                    up
FastEthernet0/4        unassigned      YES unset  down                  down
FastEthernet0/5        unassigned      YES unset  down                  down
FastEthernet0/6        unassigned      YES unset  down                  down
FastEthernet0/7        unassigned      YES unset  down                  down
FastEthernet0/8        unassigned      YES unset  down                  down
GigabitEthernet0/1     84.197.88.3     YES DHCP   up                    up

Which ports do you want to have open/closed ? You can use an extended access list and apply it to the Gigabit interface...

i want to have the wan GigabitEthernet0 / 1 closed, otherwise I do not have internet on other interface

this is my last running config do not get internet does someone sometimes know what the problem is?

 

 

Current configuration : 2953 bytes
!
! Last configuration change at 02:51:39 UTC Mon Mar 1 1993
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname SW2
!
boot-start-marker
boot-end-marker
!
!
username Cursist privilege 15 secret 5 $1$skw0$oq.dbVFD/vJDE1QpUttut/
username remote privilege 15 secret 5 $1$jl.L$uOd3ziOFqJi4AJrUOXv601
username Tim privilege 15 secret 5 $1$AgKG$JjtG6l3pT479DmCo9Kpzo/
aaa new-model
!
!
!
!
!
!
!
!
aaa session-id common
system mtu routing 1500
ip routing
!
!
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
  30820246 308201AF 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
  8100EB23 0127F802 F10FE902 A16D8CB4 B7801E86 9C977A38 C585F957 420DD666
  272E578D 6347E4A9 1F97484C FFB4D1DE AE48A6F8 74E34362 29E12BAA 0C449F84
  EA1E3BBD E29B4FD2 F6C82E50 08A5467A 7862E2F5 33977D7D 8A0CE9B9 0A6898B8
  070FB2DA B31EB59C 52F90E61 E0D4DFA8 C7F465B6 E5389784 36F17C58 F32C85E2
  5CC10203 010001A3 6E306C30 0F060355 1D130101 FF040530 030101FF 30190603
  551D1104 12301082 0E535732 2E74656C 656E6574 2E626530 1F060355 1D230418
  30168014 4EDF4627 34B48C68 92A2DA6B 56F4F2F9 9510F66B 301D0603 551D0E04
  1604144E DF462734 B48C6892 A2DA6B56 F4F2F995 10F66B30 0D06092A 864886F7
  0D010104 05000381 81008003 F73033FA F4410D2D A84D9842 04B2D5EC 8022F887
  D182F850 B0265FD5 A6DA29C7 7AF29EF5 F6ECE76C C3B9046D 8B899379 22D58C42
  C7A1A9B1 D4D9A249 63855702 A66CFE5D 9E15EE3E 706A6941 63075F72 45E1FC36
  B1E5DCE9 C02F9645 16A069E5 7CBE2DB2 4DEE3CEB BFA0A464 A97C067B CEB4B7B3
  FD9B069A C6C58ED3 D37E
        quit
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
ip ssh rsa keypair-name SW2.local
ip ssh version 2
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
 no switchport
 no ip address
!
interface FastEthernet0/8
 no switchport
 no ip address
!
interface GigabitEthernet0/1
 no switchport
 ip address dhcp
!
interface Vlan1
 no ip address
 shutdown
!
ip default-gateway 84.197.88.1
ip http server
ip http secure-server
!
!
!
!
!
!
line con 0
line vty 5 15
 transport input ssh
!
end
Review Cisco Networking for a $25 gift card