I am trying to configure bridge network in the HP server. I dont have console access. I am connected using ssh to the server remotely. The configuration files have been placed in the proper location /etc/sysconfig/network-scripts
cat ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
TYPE=Ethernet
IPV6INIT=no
USERCTL=no
BRIDGE=br0
cat ifcfg-br0
DEVICE=br0
TYPE=Bridge
BOOTPROTO=static
IPADDR=IP of the server
NETMASK=255.255.255.0
ONBOOT=yes
When I restart the network service after configuring this
/etc/init.d/network restart
, I am getting disconnected from the terminal.
What is the proper way to do this configuration?
The above configuration works perfectly on the virtualbox setup, but when I try to implement the same to a physical server, it fails to set up the bridge.
I am using Centos 6.8 OS.