07-18-2006 05:05 AM - edited 03-03-2019 01:22 PM
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
07-18-2006 05:10 AM
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
07-18-2006 05:25 AM
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
07-18-2006 05:40 AM
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
07-18-2006 05:42 AM
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.
07-18-2006 05:56 AM
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......
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide