LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-24-2011, 06:51 AM   #1
tushs
LQ Newbie
 
Registered: Apr 2010
Posts: 17

Rep: Reputation: 1
How to create vlan in linux using cisco 3750 switch


Hi,
Before going to vlan topic I have basic question. I have a gateway as 10.209.108.1/22 if I am connecting gateway to cisco 3750 switch port 1 can I use remaining ports to connect via above gateway? I mean suppose I am connecting NIC to port 2 and IP 10.209.111.200 can i ping 10.209.108.1? Is this valid without configuring any vlan or anything on switch?
I am not able to ping gateway, what could be possible reason?
 
Old 05-24-2011, 06:59 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
hard to know what you mean but 10.209.108.1 and 10.209.111.200 are on the same /22 so yes they should be reachable without any L3 device inbetween.
 
Old 05-25-2011, 12:38 AM   #3
tushs
LQ Newbie
 
Registered: Apr 2010
Posts: 17

Original Poster
Rep: Reputation: 1
I have IP range of network 10.209.108.0/22 and I want to set up a VLAN to do this I have cisco 3750 switch. I had connected all my machines to 3750 switch and they can communicate (as expected). Now I want to connect this setup to internet, for that I connected cable from 10.209.108.1 switch to my cisco 3750 switch. when I tried to ping 108.1 gateway its Not working.
what I observed is after connecting gateway switch cable to cisco switch after some time that link becomes dead. these two switches has some problem to work with together. may be I am doing something wrong.
what could be possible reason?
 
Old 05-25-2011, 03:04 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i've no idea why it's not working, you've not provided the IOS config and such, so there's no way to know how the switch ports are set up. It may help to put an IP on the switch on that vlan and ping back and forth between each machine and the switch instead of going through the switch to other endpoints.
 
  


Reply

Tags
network, network connectivity, routes, switch, vlans



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Iptables + Forwarding + Vlan + OpenVPN & L2 junk switch /L3 extreme networks switch feloniousj Linux - Networking 3 03-15-2010 09:27 PM
Layer 2 Switch - use linux as VLAN router to network towme Linux - Networking 11 09-16-2009 12:25 PM
VLan help on Cisco 870 to Linux vlan spide21 Linux - Networking 4 07-30-2009 08:20 AM
VLAN trunking between Cisco 2950 and linux box[Fedora 9] bangla Linux - Networking 6 07-06-2008 03:54 PM
Linux Bridge Vlan Query switch SNMP christopherccv Linux - Networking 2 05-15-2006 10:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration