I have two NIC configured on VM's one IP is assign by DHCP on 172.26.43.XX VLAN and 10.10.10.XX is static ip I am installing cloudera beta 5 on these VM, while detecting the host cloudera is returning back with the 172 VLAN IP of all the hosts but i need cloudera to communicate on 10 VLAN
172.26.43.1 (it have gateway and entry on dns server)
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 172.26.43.1 0.0.0.0 UG 100 0 0 eth0
10.10.10.0 * 255.255.255.0 U 0 0 0 eth1
172.26.43.0 * 255.255.255.0 U 0 0 0 eth0
hosts file on all the host have only entry of the 10.10.10.XX IP corresponding to hostname.
IP of one of the host is 10.10.10.20
output of commands are below
ip route
default via 172.26.43.1 dev eth0 metric 100
10.10.10.0/24 dev eth1 proto kernel scope link src 10.10.10.20
172.26.43.0/24 dev eth0 proto kernel scope link src 172.26.43.65
ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 08:00:27:a4:dd:27 brd ff:ff:ff:ff:ff:ff
inet 172.26.43.65/24 brd 172.26.43.255 scope global eth0
inet6 fe80::a00:27ff:fea4:dd27/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 08:00:27:1d:27:83 brd ff:ff:ff:ff:ff:ff
inet 10.10.10.20/24 brd 10.10.10.255 scope global eth1
inet6 fe80::a00:27ff:fe1d:2783/64 scope link
valid_lft forever preferred_lft forever