HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- tagging vlans on a nic, DL380 procurve 2824,
Operating System - Linux
1830487
Members
3033
Online
110005
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2007 11:56 AM
02-07-2007 11:56 AM
tagging vlans on a nic, DL380 procurve 2824,
Hardware: Dl380 G2
Switch: procurve 2824
OS RedHat clone (CentOS 4.4)
I am starting to play with vmware and I need to tag the port that my vmware box is connected to on the lan so that the vmware physical nterface is a member of all associated vlans, but I have not gotten it to successfully work, so I want to narrow my search to 1 the switch, 2 the
os, 3 the nic of the server.
I followed this kb article on red hats web site:
http://kbase.redhat.com/faq/FAQ_45_3681.shtm
When I tag the port on the switch, I lose all my networking to that host, even after restarting the network. Here is my eth0 config:
[cgb@apollo ~]$ sudo cat /etc/sysconfig/network-scripts/ifcfg-eth0*
DEVICE=eth0
ONBOOT=yes
DEVICE=eth0.4
BOOTPROTO=static
HWADDR=00:08:02:DF:89:4A
IPADDR=172.24.4.243
NETMASK=255.255.252.0
NETWORK=172.24.4.0
GATEWAY=172.24.4.1
ONBOOT=yes
TYPE=Ethernet
VLAN=yes
Here is the outcome of ifconfig:
[cgb@apollo ~]$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:08:02:DF:89:4A
inet addr:172.24.4.241 Bcast:172.24.7.255 Mask:255.255.252.0
inet6 addr: fe80::208:2ff:fedf:894a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7163372 errors:0 dropped:0 overruns:0 frame:0
TX packets:8645697 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:819521529 (781.5 MiB) TX bytes:3667339610 (3.4 GiB)
eth0.4 Link encap:Ethernet HWaddr 00:08:02:DF:89:4A
inet addr:172.24.4.243 Bcast:172.24.7.255 Mask:255.255.252.0
inet6 addr: fe80::208:2ff:fedf:894a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:674 (674.0 b)
My question here is where in the world is it pulling the IP address for
eth0?
Here is some of the dmesg with eth0 in it:
bridge-eth0: enabling the bridge
bridge-eth0: enabled promiscuous mode
bridge-eth0: up
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
divert: allocating divert_blk for eth0.4
eth0.4: add 33:33:00:00:00:01 mcast address to master interface
eth0.4: add 33:33:ff:df:89:4a mcast address to master interface
eth0.4: add 01:00:5e:00:00:01 mcast address to master interface
eth0: no IPv6 routers present
eth0.4: no IPv6 routers present
[cgb@apollo ~]$
Any help would be appreciated.
Chris
Switch: procurve 2824
OS RedHat clone (CentOS 4.4)
I am starting to play with vmware and I need to tag the port that my vmware box is connected to on the lan so that the vmware physical nterface is a member of all associated vlans, but I have not gotten it to successfully work, so I want to narrow my search to 1 the switch, 2 the
os, 3 the nic of the server.
I followed this kb article on red hats web site:
http://kbase.redhat.com/faq/FAQ_45_3681.shtm
When I tag the port on the switch, I lose all my networking to that host, even after restarting the network. Here is my eth0 config:
[cgb@apollo ~]$ sudo cat /etc/sysconfig/network-scripts/ifcfg-eth0*
DEVICE=eth0
ONBOOT=yes
DEVICE=eth0.4
BOOTPROTO=static
HWADDR=00:08:02:DF:89:4A
IPADDR=172.24.4.243
NETMASK=255.255.252.0
NETWORK=172.24.4.0
GATEWAY=172.24.4.1
ONBOOT=yes
TYPE=Ethernet
VLAN=yes
Here is the outcome of ifconfig:
[cgb@apollo ~]$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:08:02:DF:89:4A
inet addr:172.24.4.241 Bcast:172.24.7.255 Mask:255.255.252.0
inet6 addr: fe80::208:2ff:fedf:894a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7163372 errors:0 dropped:0 overruns:0 frame:0
TX packets:8645697 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:819521529 (781.5 MiB) TX bytes:3667339610 (3.4 GiB)
eth0.4 Link encap:Ethernet HWaddr 00:08:02:DF:89:4A
inet addr:172.24.4.243 Bcast:172.24.7.255 Mask:255.255.252.0
inet6 addr: fe80::208:2ff:fedf:894a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:674 (674.0 b)
My question here is where in the world is it pulling the IP address for
eth0?
Here is some of the dmesg with eth0 in it:
bridge-eth0: enabling the bridge
bridge-eth0: enabled promiscuous mode
bridge-eth0: up
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
divert: allocating divert_blk for eth0.4
eth0.4: add 33:33:00:00:00:01 mcast address to master interface
eth0.4: add 33:33:ff:df:89:4a mcast address to master interface
eth0.4: add 01:00:5e:00:00:01 mcast address to master interface
eth0: no IPv6 routers present
eth0.4: no IPv6 routers present
[cgb@apollo ~]$
Any help would be appreciated.
Chris
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2007 05:52 PM
02-07-2007 05:52 PM
Re: tagging vlans on a nic, DL380 procurve 2824,
Shalom Chris,
Its getting the IP address from eth0 because thats the real IP address.
Most network hardware can figure out the MAC address is the same anyway and if you look at netstat -in you'll see even if the actual traffic is on eth0:4 the system is runing it through the master not the virtual interface.
I'm not sure you can achieve this objective.
Most of my personal systems are CentOS, I've got some experience with it.
SEP
Its getting the IP address from eth0 because thats the real IP address.
Most network hardware can figure out the MAC address is the same anyway and if you look at netstat -in you'll see even if the actual traffic is on eth0:4 the system is runing it through the master not the virtual interface.
I'm not sure you can achieve this objective.
Most of my personal systems are CentOS, I've got some experience with it.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP