- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Vlan+bonding+SLES9
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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-15-2006 12:47 AM
02-15-2006 12:47 AM
Vlan+bonding+SLES9
It works , but I don´t know the place to configure the default GW in this scenario.
When using only bonding the routing table its ok.
When I configure 1 VLAN the default GW its not there. I have to enter it manually
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2006 02:40 AM
02-15-2006 02:40 AM
Re: Vlan+bonding+SLES9
GATEWAY=192.168.0.254
change the ip address to something real.
Put it either in the /etc/sysconfig/network file or the bond0 configuration file, wherever SLES9 keeps it.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2006 03:23 AM
02-15-2006 03:23 AM
Re: Vlan+bonding+SLES9
You can specify gateway in the NIC conf file itself.
Else do an route add.
To make the route add command permanent either create a startup script or simply append the command to
/etc/rc.local
Cheers
Vipul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2006 07:31 PM
02-15-2006 07:31 PM
Re: Vlan+bonding+SLES9
/etc/sysconfig/network/routes
and it works with bonding only.
When I start bonding with ip 0.0.0.0 in order to configure new VLAN , then the default GW dissapears.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2006 05:20 AM
02-18-2006 05:20 AM
Re: Vlan+bonding+SLES9
The HP VLAN stuff really gets in the way of the SuSE VLAN stuff. The driver is already in the SuSE kernel. The SuSE net startup scripts mostly do the right thing. However, the SuSE vlan package puts vconfig in /usr/sbin, not /sbin where the HP stuff puts it. (/sbin is actually more correct, but that's a SuSE bug that I don't care about. I'm not NFS-mounting /usr.)
Here's a How-To to get this to work right:
1. Put the default route in /etc/sysconfig/network/routes as usual.
2. Configure the bonding driver as normal in /etc/sysconfig/network/ifcfg-bond0. Configure it with STARTMODE='onboot'.
3. Put a symlink at /usr/sbin/vconfig to /sbin/vconfig.
4. Turn off the HP VLAN startup with "insserv -r vlan". This is the only thing that reads /etc/vlan.conf, so that can be empty as well.
5. Configure the vlans the SuSE way. This involves installing files with names like /etc/sysconfig/network/ifcfg-vlanNNN. These are like a regular static configuration, except that they've got the extra configuration line ETHERDEVICE='xxxx'. In this case, you use ETHERDEVICE='bond0'.
The vlan number comes from the number in the ifcfg-vlanNNN file name.
As an alternative to (3) and (4), you could remove the HP vlan driver completely and install the SuSE vlan package. However, I've found that this also requires re-installing the kernel, because uninstalling the HP VLAN driver removes the 8021q kernel module. (The problem is that the HP-supplied one is idential to the SuSE-supplied one, so it thinks it's removing the one that it installed.) I ended up re-installing the entire kernel rpm, even though I only needed the one 8021q.ko file. (There may be a way around this, but I haven't learned it.)
If you go down the path of removing the HP VLAN driver, you may also find yourself performing surgery on the PSPs so that it doesn't install in the first place, and making a custom baseline in Version Control Repository Manager so SIM doesn't tell you that you are missing a software update.
If somebody from HP driver development, QA, or support is following this forum, please enter a bug report against the PSP for SLES9. The HP bonding driver really should be removed. It's as unnecessary in SLES9 as it is in RHEL4. (The comments already mention that it's unnecessary in RHEL4.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 01:55 AM
02-20-2006 01:55 AM
Re: Vlan+bonding+SLES9
I have done the easy way.
One file with route commands executed on runlevels 3 4 and 5
Thanks