itubaf
asked on
VLANS Issue
Dear Experts,
i have two networks, 10.10.10.x and 192.168.168.x
i have one C3750G switch, i want both network to work please help.
i shoudl be able to ping both interfaces.
i have two networks, 10.10.10.x and 192.168.168.x
i have one C3750G switch, i want both network to work please help.
i shoudl be able to ping both interfaces.
ASKER
thanks for reply
i have Sonicwall firewall/router but i dont know how to add routes in it.
i have Sonicwall firewall/router but i dont know how to add routes in it.
Forget about SonicWall. at least for now. You have L3 switch (which is basically a router) so it's better to make L3 routing works directly on the switch.
So, to enable routing you need to have "ip route" command issued in config mode. I hope that you know how to get to config mode. If not, ask.
Also, you need two interfaces configured with 2 different networks on it.
Possibility 1. with Vlans.
from config mode you issuse these:
vlan 10
name network1
exit
int vlan 10
ip address 10.10.10.1 255.255.255.0
no shut
exit
vlan20
name network2
exit
int vlan20
ip address 192.168.168.0 255.255.255.0
no shut
exit
int gi 0/1
switchport mode access
switchport access vlan 10
no shut
exit
int gi 0/2
switchport mode access
switchport access vlan 20
no shut
exit
Possibility 2. configure address directly on interfaces
int gi 0/1
no switchport
ip address 10.10.10.1 255.255.255.0
no shut
exit
int gi 0/2
no switchport
ip address 192.168.168.0 255.255.255.0
no shut
exit
Also in both cases, don't forget to save config and make it persistent across reboots.
I would suggest to configure vlans. It gives you more possibilities and versatility.
So, to enable routing you need to have "ip route" command issued in config mode. I hope that you know how to get to config mode. If not, ask.
Also, you need two interfaces configured with 2 different networks on it.
Possibility 1. with Vlans.
from config mode you issuse these:
vlan 10
name network1
exit
int vlan 10
ip address 10.10.10.1 255.255.255.0
no shut
exit
vlan20
name network2
exit
int vlan20
ip address 192.168.168.0 255.255.255.0
no shut
exit
int gi 0/1
switchport mode access
switchport access vlan 10
no shut
exit
int gi 0/2
switchport mode access
switchport access vlan 20
no shut
exit
Possibility 2. configure address directly on interfaces
int gi 0/1
no switchport
ip address 10.10.10.1 255.255.255.0
no shut
exit
int gi 0/2
no switchport
ip address 192.168.168.0 255.255.255.0
no shut
exit
Also in both cases, don't forget to save config and make it persistent across reboots.
I would suggest to configure vlans. It gives you more possibilities and versatility.
ASKER
Thanks slakic, i think Vlan option are good, but i would like to know if i create two vlan do i need to add persistent routes? if yes then we need to think other solution as i have many host @ both location replicating data and persistent routes may be very complicated.
i want a solution without persistent routes, i so have L3 switch and i can use.
i want a solution without persistent routes, i so have L3 switch and i can use.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Add a static route to the router with the specific interface to reach each network.