Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

IP routing Issue ?????

Hi,

I want to route two different networks on one switch (C3750) to differnet Gateway routers.

.xx/24 and .yy/24 two network and gateway's xx.1 and yy.1 respectivly.

How i route them ???

Via Vlan Interfaces,???

via Interfcaes (on uplink port)???

or any other possible solutions.???

Thanks

5 REPLIES
Purple

Re: IP routing Issue ?????

Hi,

VLAN interfaces are your best bet, unless you want to invest in a router just to do inter-vlan routing.

You can do something like the following:

interface vlan10

ip address x.x.x.1 255.255.255.0

!

interface vlan20

ip address y.y.y.1 255.255.255.0

Paresh

Community Member

Re: IP routing Issue ?????

Hi ,

Thanks for the Ans

Yes I ahve given the Vlan Ips

,,

ip address x.x.x.3 255.255.255.0

!

interface vlan20

ip address y.y.y.30 255.255.255.0

X.1 and Y.1 are my gateways diiferent gatway;s,

Should i used static route for this ????

and

IP route X.X.X.X 255.255.255.224 ??? on gateway ip ?????

Same for Y.Y.Y.Y ????

Thanks

Hall of Fame Super Gold

Re: IP routing Issue ?????

Afzaal

I do not see any need for static routes. If the gateway address is in the same subnet as the VLAN interface address then the switch should be able to ARP and find the MAC address of the gateway and get to it. If the gateway is not reachable by ARP then how can it be in the same subnet?

HTH

Rick

Blue

Re: IP routing Issue ?????

if you've created both VLAN intefaces on your switch and have them "no shutdown" then you should not need any static routes to communicate between those two vlans.

you'll only need additional routes (static or dynamic) in order to allow those two VLAN interfaces/subnets to communicate with other subnets outside that switch.

Community Member

Re: IP routing Issue ?????

Hi

Thanks for the the quick response once agian thanks..

an other issue for which i want to use route there are machine in our network which has dual IP Also from X/24 , Y/24 there are web server type machine ..

when get y.20 machine its ok frist time some interval it did not responds to ICMP ,,,

this is Mesh you can say......

108
Views
8
Helpful
5
Replies
CreatePlease to create content