LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   No connection within the vlan???? (https://www.linuxquestions.org/questions/linux-networking-3/no-connection-within-the-vlan-849850/)

frankkky 12-13-2010 01:22 AM

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.

acid_kewpie 12-13-2010 02:22 AM

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.


All times are GMT -5. The time now is 12:43 PM.