cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1832
Views
0
Helpful
11
Replies

Routing between different vlans in UCS server

uday kiran
Level 1
Level 1

Hello,

 I am more into voice but I now I have a routing setup in staging. I am trying to replicate customer environment in my lab so that I can configure cisco voice applications on UCS box. I have a layer 3 switch and a router.

I am using router to replicate DNS server scenario butnot sure the issue with the ip routing or due to dns I am getting error that dns name not able to resolve

 

VMware servers should be on 10.98.60/23

Applications servers should be on 10.98.0/27

 

IP address to the vmware server : 10.98.60.5/23 DG: 10.98.60.3  vlan 10

IP address to the call manager server: 10.98.0.10/27 DG:10.98.0.3   vlan 54

 

I configured two SVIs in the switch

switch config:

interface GigabitEthernet0/1
 switchport access vlan 10
 switchport mode access
 spanning-tree portfast

!interface GigabitEthernet0/1
 switchport access vlan 54
 switchport mode access
 spanning-tree portfast

!

interface Vlan10
 description Servers
 ip address 10.98.60.3 255.255.254.0
!
interface Vlan54
 ip address 10.98.0.3 255.255.255.224
!
ip default-gateway 10.98.0.3

 

Router config:

ip name-server 10.0.112.179
ip name-server 10.0.112.196

 

interface Loopback0
 ip address 10.0.112.179 255.255.254.0
!
interface Loopback1
 no ip address
!
interface FastEthernet0/0
 ip address 10.98.0.1 255.255.255.224
 duplex auto
 speed auto

ip dns server

 

Not sure if I am missing anything...Any help is much appreciated

 

Thanks in advance

 

1 Accepted Solution

Accepted Solutions

Are you installing the application onto one of those two servers you mentioned ?

If you are then you cannot put the server port into vlan 10 as the application needs access to vlaan 54 if I understand you correctly.

It sounds like the port needs to be a trunk port.

Jon

View solution in original post

11 Replies 11

Jon Marshall
Hall of Fame
Hall of Fame

Couple of things -

1) "ip default-gateway 10.98.0.3" on the switch is presumably meant to be 10.98.0.1 ?

However if it is a L3 switch then first make sure ip routing is enabled which it may or may not be ie. -

"ip routing"

then replace the default gateway with -

"ip route 0.0.0.0 0.0.0.0 10.98.0.1"

2) your router needs a route back to the other IP subnet ie.

"ip route 10.98.60.0 255.255.254.0 10.98.0.3"

Jon

 

Thanks a lot for the reply Jon.

I see it is now a routing issue, because I am getting this error gateway address is invalid or is not responding. I am attaching my router and switch configuration. Not sure if I am missing anything.

 

 

 

Where are you seeing that error ie. on what equipment.

Note that normally you would use a separate IP subnet to connect the L3 switch to the router but you are using 10.98.0.x which is also being used for the servers.

Not saying this is the issue just wanted to point it out.

Can you give some details as to what isn't working ?

Jon

In the UCS server I am installing an application which is 10.98.0.10/27 DG 10.98.0.3 vlan 54

when we configure the IP address on the server, it will check the network connectivity, in this process it is giving an error" gateway address is invalid or is not responding"

 

Do you want me to configure router interface with different subnet?? I connected the router to the switch where switch port vlan is 54

 

 

 

I haven't done anything with UCS servers but is the port on the switch it connects to in vlan 54 ?

How is the NIC configured on the server ie. it could be a trunk and that may be why it isn't working.

In terms of using a different IP subnet I don't think that is the problem here and if it just to test then it may well not be worth it.

Lets try and get this bit working first.

Jon

 

I have UCS serverLAN1 and LAN2 connected to switch port with access vlan10

I tried with trunking, then I was not able to ping the UCS server at all
 

Is either of those servers the one you are installing the application on to ?

What does a "sh ip int br" on the switch show for the SVIs ?

You did do a "no shut" under the SVIs ?

Edit - actually the SVI for vlan 54 should be up because you are using that vlan/IP subnet to connect to the router.

Jon

I will be installing multiple applications on the same UCS server: with subnet IPs 10.98.0/27 DG: 10.98.0.3

Both LAN1 and LAN2 from the UCS box are connected to the switch port with access vlan 10 for redundancy

 

It is showing up and yes I did no shut in the beginning

 

Interface              IP-Address      OK? Method Status                Protocol
Vlan1                  unassigned      YES unset  administratively down down
Vlan10                 10.98.60.3      YES manual up                    up
Vlan54                 10.98.0.3       YES manual up                    up

 

 

Are you installing the application onto one of those two servers you mentioned ?

If you are then you cannot put the server port into vlan 10 as the application needs access to vlaan 54 if I understand you correctly.

It sounds like the port needs to be a trunk port.

Jon

If I make it a trunk port then I can't ping 10.98.60.5 which is the UCS server VMWare IP..

 

Can you just confirm that the application is meant to be accessible in vlan 54 and it is being loaded onto one of those servers ?

If so that is why it cannot find the gateway when you load it up.

I will have a quick search on UCS and trunk links but exactly how are you setting it up ie. you obviously need to setup both ends, the switch and the server.

Try setting it up as trunk on both ends and see if you can ping.

If not try adding this to the trunk configuration on switch -

"switchport trunk native vlan 10"

Jon