cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2176
Views
0
Helpful
34
Replies

address not accessible

william.briere
Level 1
Level 1

Hello,

I have a 4507r and have added a new interface vlan 75 with an ip address of 10.75.0.1. I have created an ospf route for the 10.75.0.0 network in the 0 area but for some reason I cannot ping it.

Here is the config in question...

interface Vlan75

ip address 10.75.0.1 255.255.0.0

no ip redirects

!

router ospf 2

log-adjacency-changes

redistribute static metric 200 subnets

network 10.50.0.0 0.0.255.255 area 0

network 10.75.0.0 0.0.255.255 area 0

When I do a show ip route 10.50.0.0 I get..

Routing entry for 10.50.0.0/16

Known via "connected", distance 0, metric 0 (connected, via interface)

Routing Descriptor Blocks:

* directly connected, via Vlan23

Route metric is 0, traffic share count is 1

but for 10.75.0.0 I get

% Subnet not in table

Any ideas?

1 Accepted Solution

Accepted Solutions

William,

The problem is on the 4948 (vlan 75 is down), please do the following, and please make sure that vlan 75 is present on the 4948:

no ip default-gateway 10.75.0.1

ip route 0.0.0.0 0.0.0.0 10.75.0.1

ip routing

HTH,

Mohammed Mahmoud.

View solution in original post

34 Replies 34

ankbhasi
Cisco Employee
Cisco Employee

Hi William,

Can you issue a command "sh interface vlan 75" and make sure interface is up and up? If interface is in line protocol down state then route will not exist in routing table.

Also if the interface is in line protocol down state can you make sure if you have any device connected physically to vlan 75 or any trunk port which allows this vlan?

Regards,

Ankur

It does show down and down... Weird as the two interfaces I added to the vlan show up and up...

I have created a portchannel with the following config...

interface Port-channel2

switchport

switchport access vlan 75

switchport mode access

switchport nonegotiate

I have added two interfaces...

interface GigabitEthernet3/31

description Grouped with port37 To VMWARE In Lab

switchport access vlan 75

switchport mode access

switchport nonegotiate

channel-group 2 mode on

interface GigabitEthernet3/37

description Grouped with port31 To VMWARE In Lab

switchport access vlan 75

switchport mode access

switchport nonegotiate

channel-group 2 mode on

Other end is a 4948 with ports 1 & 2 having

channel-group 2 mode auto

hi,

Can you please make sure that you've added the VLAN itself to the switch.

HTH,

Mohammed Mahmoud.

which switc are you referring to?

Hi William,

On the switch that you've created the SVI interface (interface vlan) please make sure that you've added the vlan to the switch (either via the vlan database mode or the global configuration mode).

HTH,

Mohammed Mahmoud.

I have created interface vlan 75 on both devices. I can ping 10.75.0.1 from my desk (10.50. network) but cannot ping 10.75.0.2? ... I can do it from the 4507 (10.75.0.1) to the 4948 (10.75.0.2) and the reverse, but I cannot ping 10.75.0.2 from another network.

Hi,

You have said that the interface vlan 75 is down/down then how can you ping it, can you please provide us with a "show ip interface brief" and a "show vlan" from the 4507, and can you please elaborate more on your network topology.

HTH,

Mohammed Mahmoud.

Hello,

Sorry... Forgot to mention that I can now ping the Vlan 75 ip from anywhere. I noticed the Vlan 75 was shutdown...

On the 4948 the ip I put on the interface vlan 75 is 10.75.0.2 and I cannot ping it from another network.

sh ip int brief from 4507

Vlan75 10.75.0.1 YES manual up up

show vlan from 4507

75 VMWARE active Po2

sh vlan from the 4948

VLAN Name Status Ports

---- -------------------------------- --------- -------------------------------

1 default active Gi1/37, Gi1/38, Gi1/39, Gi1/40

Gi1/41, Gi1/42, Gi1/43, Gi1/44

Gi1/45, Gi1/46, Gi1/47, Gi1/48

75 VMWARE active Gi1/1, Gi1/2, Gi1/3, Gi1/4

Gi1/5, Gi1/6, Gi1/7, Gi1/8

Gi1/9, Gi1/10, Gi1/11, Gi1/12

Gi1/13, Gi1/14, Gi1/15, Gi1/16

Gi1/17, Gi1/18, Gi1/19, Gi1/20

Gi1/21, Gi1/22, Gi1/23, Gi1/24

Gi1/25, Gi1/26, Gi1/27, Gi1/28

Gi1/29, Gi1/30, Gi1/31, Gi1/32

Gi1/33, Gi1/34, Gi1/35, Gi1/36

Did I lose you?

Hey William,

The point here is why would you need interface VLAN 75 on both switches.

HTH,

Mohammed Mahmoud.

Two questions...

If I don not have the second vlan, by that I mean vlan 75 on the 4948, then how can I get around the vlan mismatch error I get when they are connected?

Also why can I not ping the ip I put on the interface vlan 75 on the 4948? I can only do it from the directly connected Core 4507 and from no where else? I put a default gateway on the 4948 pointing to 10.75.0.1 but no dice...

William,

Can you elaborate more on your topology (how is your devices connected and from where are you doing the tests).

Can you please post the error you've talked about and attach the complete configuration of both switches.

HTH,

Mohammed Mahmoud.

I have modified the config as you said... Removed the Vlan 75 on the 4948 and am just going with native Vlan 1... Problem is now none of it works...

Here si the config as it is now... After the changes described...

The 4507r is the core and has many distribution switches connected to it, now including this 4948.

What I'm looking to do it create a 10.75.0.0/16 network and channel-group 2 ports together to connect from the 4507 to two channel-grouped ports on the 4948 distribution switch. The 4948 would have a management IP of 10.75.0.2 and all the ports on Vlan 1 would be on the 10.75.0.0/16 network.

You will notice another vlan on the 4948 which I just want to be a private grouping of ports on the same vlan and not accessible to anything else.

My two ports on the 4507 are now in err-disabled status. And it won't reset them if I shut and then no shut.

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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco