Ask Your Question
0

bridge with external interface in open suse for floating IP

asked 2014-12-02 09:29:56 -0600

naggappan gravatar image

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 ... (more)

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-12-02 23:39:37 -0600

naggappan gravatar image

Hi mpetason,

Thanks. In the doc its mentioned to bridege the external interface eth0 with br-ex which is created newly. So I will following this command,

  ovs-vsctl add-br br-ex
  ovs-vsctl add-port br-ex INTERFACE_NAME

But after this only i have issue. I need to configure the bridge settings in network file in SUSE linux /etc/sysconfig/network/. Like i need to create a file with 'ifcfg-br-ex' and modify the existing 'ifcfg-eth0'. So I need sample parameters to do this.

edit flag offensive delete link more
0

answered 2014-12-02 12:09:02 -0600

mpetason gravatar image

You can still follow the guides like you were installing on multi node:

http://docs.openstack.org/juno/instal...

It gets a little bit odd with the Neutron + GRE setup because you are expecting to tunnel to a remote machine. You'll want to look over the install documents for the All in One and see what they say about Neutron + GRE, or see if there are any templates that show the setup.

I would say look over the controller + network + compute node configurations, see if there are any differences compared to the All in One.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-12-02 09:29:56 -0600

Seen: 305 times

Last updated: Dec 02 '14