Pages

Wednesday, November 9, 2011

Bridge networking in sles


As in previous blog posts about Bridge networking in RHEL, here we will discuss the implementation of the bridged networking on Suse Linux Enterprise (SLES).

Here are the steps to bridge networking :
  1. login as root
  2. Add the following code. In this case, we will bridge eth0 and eth1
    ip addr flush dev eth0
    ip addr flush dev eth1
    brctl addbr br0
    brctl addif br0 eth0
    brctl addif br0 eth1
    ip addr add 192.168.4.3/24 brd + dev br0
    ip route add default via 192.168.4.254
    
  3. test using ifconfig
  4. That command is used for the temporary bridge networking. This means the bridge networking will be lost when the computer restarts.

1 comment:

Don't Forget To Join Our Community
×
Widget