1

I am newbie to networking and trying to ping from bridge interface to another interface configured with different subnet IP address.

I am trying these configuration in oracle virtual BOX VM running with Ubuntu 16.04.

I have three interfaces eth0, eth1, eth3. In which eth0, eth1 are part of bridge br0. The bridge br0 is configured with IP address as 10.1.1.10.

The another interface eth3 is configured as 192.1.168.10.

When I am trying to add route it fails as Network unreachable. ip add default via 192.1.168.10 dev br0

I would need to : ping -I br0 192.1.168.10 ->>>> But fails.

In oracle virtual box VM, these interfaces are configured as internal network ports (inet).

brctl show
bridge name bridge id       STP enabled interfaces
br0     8000.0800275f7d3e   no      eth0
                            eth1
ifconfig eth3
eth3      Link encap:Ethernet  HWaddr 08:00:27:f9:c1:a8  
          inet addr:192.1.168.10  Bcast:192.1.168.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fef9:c1a8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 ifconfig br0
  br0       Link encap:Ethernet  HWaddr 08:00:27:5f:7d:3e  
          inet addr:10.1.1.10  Bcast:10.255.255.255  Mask:255.0.0.0
          inet6 addr: fe80::a00:27ff:fe5f:7d3e/64 Scope:Link

virtualBox:~# ip route add default via 192.1.168.10 dev br0
**RTNETLINK answers: Network is unreachable****

VirtualBox:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0         255.0.0.0       U     0      0        0 br0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth3
192.1.168.0     0.0.0.0         255.255.255.0   U     0      0        0 eth3
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth2

When I am trying to ping from bridge interface it is failed. Any ideas how to resolve this issue.

Network Diagram

daren
  • 11
  • 2

0 Answers0