Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

bridge with external interface in open suse for floating IP

Hi,

I have used suse-cloud-admin-server 4 and deployed the openstack-single-node environment. by default we get the following in 'ifconfig' output

br-int    Link encap:Ethernet  HWaddr DA:5E:BB:CB:EC:46
      UP BROADCAST RUNNING  MTU:1500  Metric:1
      RX packets:0 errors:0 dropped:0 overruns:0 frame:0
      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0
      RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

br-public Link encap:Ethernet  HWaddr 00:50:56:95:84:24
      inet addr:192.168.126.2  Bcast:0.0.0.0  Mask:255.255.255.0
      UP BROADCAST RUNNING  MTU:1500  Metric:1
      RX packets:0 errors:0 dropped:0 overruns:0 frame:0
      TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0
      RX bytes:0 (0.0 b)  TX bytes:504 (504.0 b)

br-tunnel Link encap:Ethernet  HWaddr 0E:F0:70:1A:3F:4F
      UP BROADCAST RUNNING  MTU:1500  Metric:1
      RX packets:0 errors:0 dropped:0 overruns:0 frame:0
      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0
      RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

eth0      Link encap:Ethernet  HWaddr 00:50:56:95:84:24
      inet addr:192.168.124.85  Bcast:192.168.124.255  Mask:255.255.255.0
      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
      RX packets:1106 errors:0 dropped:0 overruns:0 frame:0
      TX packets:696 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000
      RX bytes:94247 (92.0 Kb)  TX bytes:81868 (79.9 Kb)

eth0.300  Link encap:Ethernet  HWaddr 00:50:56:95:84:24
      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
      RX packets:0 errors:0 dropped:0 overruns:0 frame:0
      TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0
      RX bytes:0 (0.0 b)  TX bytes:504 (504.0 b)

eth0.400  Link encap:Ethernet  HWaddr 00:50:56:95:84:24
      inet addr:192.168.130.10  Bcast:192.168.130.255  Mask:255.255.255.0
      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
      RX packets:0 errors:0 dropped:0 overruns:0 frame:0
      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0
      RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

 lo  Link encap:Local Loopback
      inet addr:127.0.0.1  Mask:255.0.0.0
      UP LOOPBACK RUNNING  MTU:16436  Metric:1
      RX packets:148111 errors:0 dropped:0 overruns:0 frame:0
      TX packets:148111 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0
      RX bytes:23245505 (22.1 Mb)  TX bytes:23245505 (22.1 Mb)

Here we need to create a bride between br-public and eth0 so that we can create the floating IP and get access to that floating IP. Please suggest the bridge configuration for SUSE linux.