LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-13-2010, 01:22 AM   #1
frankkky
Member
 
Registered: Sep 2006
Posts: 52

Rep: Reputation: 15
No connection within the vlan????


i set up vlan1 in cat2950 switch

#config t
#int vlan 2
#ip address 192.168.1.7
#no shutdown

i then moved all the interface ports (port 1 - port 24) from the default vlan1 to the vlan2, with....

#int f0/1
#switchport mode access
#switchport access vlan2

the problem is that with the above configuration, i connected 3 linux boxes on the switch but non of them could connect with each other.
when i did a ping, it says "destination unreachable"

what am i missing out here, and whats the fix?

i assigned static ip address to these boxes, also there's no router in this network by the way. i dont think i will need one either as all the machines in in the same vlan2.
 
Old 12-13-2010, 02:22 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
OK, well from the linux perspective this has *NOTHING* to do with a vlan in any way. Either you've misconfigured the switch, making this an IOS question, or you've misconfigured the linux servers and their totally normal networking. You've given us no information to have a clue about either of these though. do a sh vlan and sh int on the switch to prove all relevant ports are configured right and not shutdown, and also ifconfig's on each server to show a valid IP on that interface. arp records on each box would also be useful, as for the swtich itself, and it's fdb.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Route non-vlan packet to a vlan interface mic.sed Linux - Networking 2 04-23-2010 02:39 AM
VLan help on Cisco 870 to Linux vlan spide21 Linux - Networking 4 07-30-2009 08:20 AM
VLAN priyadarshan Linux - Networking 1 04-03-2009 08:40 AM
VLAN configuration - native VLAN and setting PVID kumarwaiting Linux - Networking 0 07-24-2006 02:51 AM
Vlan Markvw Linux - Networking 1 09-29-2003 08:33 AM

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

All times are GMT -5. The time now is 04:19 AM.

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