How to remove a bond interface via command line
Stephen
cryptworks at gmail.com
Fri May 1 08:09:15 MST 2009
thanks. ill have to keep this handy as well.
but i wa sable to get it last night.
On Fri, May 1, 2009 at 6:47 AM, Lisa Kachold <lisakachold at obnosis.com> wrote:
> WARNING!
>
> I would be in the NOC, standing in front of the machine when you do this!
> [Or at least have another interface with ssh available...]
>
> The best way to do this is to copy the bonded interface ifcfg files to
> backup and edit:
>
> /etc/sysconfig/network/ifcfg.template
>
> Once you are satisfied that these are what you want, reissue the network
> start command:
>
> # service network restart
> or
> # /etc/init.d/network restart
>
> Of course if you don't have support for ifcfg init scripts, check for edits
> to:
>
> (/etc/init.d/boot.local or /etc/rc.d/rc.local):
>
> modprobe bonding mode=balance-alb miimon=100 modprobe e100
> ifconfig bond0 192.168.1.1 netmask 255.255.255.0 up ifenslave bond0 eth0
> ifenslave bond0 eth1
>
> and use ifconfig and route add
>
> # ifconfig eth0 192.168.9.99 netmask 255.255.0.0 up
> # route add default gw 192.168.9.1
>
> Verify your networking using:
>
> #netstat -rn
> #netstat -anp
> # ping 192.168.9.1 [ping the gateway]
> # ping apple.com
>
> http://www.cyberciti.biz/howto/question/static/linux-ethernet-bonding-driver-howto.php
>
>
> On Thu, Apr 30, 2009 at 10:49 PM, Stephen <cryptworks at gmail.com> wrote:
>>
>> I'm here late with no real network connection
>>
>> If anyone is up late and able to get me a command to break a bonded
>> interface if be grateful
>>
>> --
>> Sent from my mobile device
>>
>> A mouse trap, placed on top of your alarm clock, will prevent you from
>> rolling over and going back to sleep after you hit the snooze button.
>>
>> Stephen
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>
>
> --
> www.obnosis.com (503)754-4452
> "Contradictions do not exist." A. Rand
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
--
A mouse trap, placed on top of your alarm clock, will prevent you from
rolling over and going back to sleep after you hit the snooze button.
Stephen
More information about the PLUG-discuss
mailing list