FlatDHCP mode responds to DHCP requests from public network
Running all the components on a single machine on a public network with many other computers and servers that I cannot interfere with (64.32.x.x addresses). I'm creating VMs on the private subnet 192.168.2.0/24 with FlatDHCP networking mode. VMs are booting fine but because of complaints from other on the network, and after checking the syslog file, turns out that the DHCP server that is running provding addresses to the VMs is also responding to other DHCP requests on the public (BAD!) network. How can a fix this so it only responds to the VM instances?
root@cgs04:
--dhcpbridge_
--dhcpbridge=
--sql_connectio
--logdir=
--state_
--lock_
--verbose
--network_
--flat_
--flat_
--flat_
--fixed_
--network_size=256
root@cgs04:~# nova-manage network list
network netmask start address DNS
192.168.2.0/24 255.255.255.0 192.168.2.2 8.8.4.4
root@cgs04:~# ps aux | grep dnsmasq
nobody 1413 0.0 0.0 21688 1072 ? S 13:35 0:00 dnsmasq --strict-order --bind-interfaces --pid-file=
nobody 1697 0.0 0.0 24388 1132 ? S 13:37 0:00 dnsmasq --strict-order --bind-interfaces --conf-file= --domain=novalocal --pid-file=
root 1698 0.0 0.0 24256 412 ? S 13:37 0:00 dnsmasq --strict-order --bind-interfaces --conf-file= --domain=novalocal --pid-file=
root 2446 0.0 0.0 9136 1064 pts/0 S+ 13:49 0:00 grep --color=auto dnsmasq
root@cgs04:~# euca-describe-
RESERVATION r-20b0ydpj adminProject default
INSTANCE i-00000001 ami-691e370f 64.32.63.36 192.168.2.2 running mykey (adminProject, cgs04) 0 m1.small 2011-09-
root@cgs04:~# ip addr
1: lo: <LOOPBACK,
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet 169.254.169.254/32 scope link lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,
link/ether 00:22:19:59:f3:0c brd ff:ff:ff:ff:ff:ff
inet 64.32.63.36/32 scope global eth0
inet6 fe80::222:
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,
link/ether 00:22:19:59:f3:0a brd ff:ff:ff:ff:ff:ff
4: virbr0: <BROADCAST,
link/ether 2a:60:95:62:4f:3b brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
6: br100: <BROADCAST,
link/ether 00:22:19:59:f3:0c brd ff:ff:ff:ff:ff:ff
inet 192.168.2.1/24 brd 192.168.2.255 scope global br100
inet 64.32.63.4/24 brd 64.32.63.255 scope global br100
inet6 fe80::cbd:
valid_lft forever preferred_lft forever
7: vnet0: <BROADCAST,
link/ether fe:16:3e:79:f2:df brd ff:ff:ff:ff:ff:ff
inet6 fe80::fc16:
valid_lft forever preferred_lft forever
root@cgs04:~# cat /etc/network/
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# Main Interface
auto eth0
iface eth0 inet static
address 64.32.63.4
netmask 255.255.255.0
gateway 64.32.63.254
post-up /sbin/ifconfig eth0 promisc
Thanks!!!
Andrey
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Andrey for more information if necessary.