×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

VLAN's not working between Intel NIC and Cisco switch

VLAN's not working between Intel NIC and Cisco switch

VLAN's not working between Intel NIC and Cisco switch

(OP)
I have an IBM Lenovo ThinkCentre mini-tower with an Intel 82566DM-2 gigabit NIC.  I'm trying to establish VLAN's between it and a Cisco 3750 switch.  I'm able to configure VLAN's on the NIC and have the switch configured for trunking, but am unable to ping default gateways or other systems on the network.  

Any thoughts on what I might be missing in my configuration?

RE: VLAN's not working between Intel NIC and Cisco switch

Trunking protocol?

Take Care

Matt
I have always wished that my computer would be as easy to use as my telephone.
My wish has come true. I no longer know how to use my telephone.

RE: VLAN's not working between Intel NIC and Cisco switch

(OP)
dot1q

RE: VLAN's not working between Intel NIC and Cisco switch

Post a config from the 3750---how do you get vlans working on a dual-interface NIC??? Why not just use it as an end station and do all the vlans on the 3750? It's a L3 switch, so it will route the vlans...

/

tim@tim-laptop ~ $ sudo apt-get install windows
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package windows...Thank Goodness!

RE: VLAN's not working between Intel NIC and Cisco switch

(OP)
My goal is to dual NIC my machine with one NIC residing on an external network and the VLAN'd NIC residing on multiple internal networks.  The external NIC will have the default gateway while the internal NIC will only communicate with the networks it is directly connected to.

Switch Config for the port:
switchport trunk encapsulation dot1q
switchport trunk native vlan 9
switchport mode trunk
switch port nonegotiate
 

RE: VLAN's not working between Intel NIC and Cisco switch

You don't need vlans---you have two separate ip networks. Don't do vlans.

/

tim@tim-laptop ~ $ sudo apt-get install windows
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package windows...Thank Goodness!

RE: VLAN's not working between Intel NIC and Cisco switch

(OP)
The point with the VLAN is that the internal network is several private IP networks.  Since I can only have one default gateway, I need VLAN interfaces to communicate with all of them.

RE: VLAN's not working between Intel NIC and Cisco switch

All you have to do then is just set an ip address on the switch port fa1/0/1 (or whatever)---make it a layer 3 interface, not a switchport or SVI.

int fa1/0/1
 ip add 10.1.1.1 255.255.255.252
 no shut
 descr to-IBM
!
int fa1/0/2
 switchport
 switchport mode access
 switchport access vlan 10
!
int vlan 10
 ip add 192.168.1.129 255.255.255.128
 no shut
!
that's an example of how it would be done. Then make a default route

ip route 0.0.0.0 0.0.0.0 10.1.1.1

and make the IBM 10.1.1.1

All the vlans would use their respective SVIs in the switch as their gateways, and the switch would forward all unknown traffic to the IBM, which would forward its traffic out its directly connected interface.

/

tim@tim-laptop ~ $ sudo apt-get install windows
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package windows...Thank Goodness!

RE: VLAN's not working between Intel NIC and Cisco switch

When you call something a "default gateway", what do you mean precisely? The IBM machine's "default GW", or the default GW for each of the IP subnets you are communicating with?

RE: VLAN's not working between Intel NIC and Cisco switch

(OP)
In my understanding of networking, a machine can have only 1 default gateway.  With VLAN tagging, a machine can exist on several networks, but only one interface/sub-interface is configured with the default gateway address.  This is the address the machine uses when it doesn't know where to find the destination address.  Here is an example of what I'm trying to setup:

NIC 1 - connection to "real world" routed network
IP: 205.54.3.22; DGW: 205.54.3.1

NIC 2 - connection to internal private networks
Sub-interface 1 IP: 192.168.10.130
Sub-interface 2 IP: 192.168.105.130
Sub-interface 3 IP: 192.168.45.130
Sub-interface 4 IP: 10.15.10.130

If the machine is looking for a system on any of the 192.168. or 10.15.10 networks, it knows about those and will send the data to the appropriate sub-interface.  If it's looking for a system not on those networks, then it is sent out NIC 1 to the DGW address 205.54.3.1.

The problem I've having is that I can't get the Cisco switch and NIC 2 to communicate properly using VLAN tagging and am wondering what I might be missing in the setup.

Thanks for the help.
 

RE: VLAN's not working between Intel NIC and Cisco switch

Why not just create a /30 between the server and the 3750, and create all the vlans in the 3750, and just make route add statements in the server for all the vlans? And a route 0.0.0.0 0.0.0.0 ip-of-the-server-NIC. I really have no idea how to enable trunking on a regular NIC in a server, but I do in a Cisco device...

By the way, you need to do the switchport command before you do switchport mode trunk, etc...

switch(config-if)#switchport
switch(config-if)#switchport mode trunk
switch(config-if)#switchport trunk encaps dot1q
switch(config-if)#switchport trunk allowed vlans 9,18,27,36,45
and make one of the vlans the layer 3 routing vlan to the server.

Is that all you did with the NIC, just set up subinterfaces?

/
 

tim@tim-laptop ~ $ sudo apt-get install windows
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package windows...Thank Goodness!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close