LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 08-29-2007, 12:46 PM   #1
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian PPC/i386/AMD64 6/7, Vista, XP , WIN7, Server 03/08
Posts: 1,278

Rep: Reputation: 91
setup dummy interface running DHCP and DNS for VM


Ok here is the story, I am running a xen kernel with xen 3.1 and a 2.6.18 kernel. I am running an existing windows installation from a hard drive. This is on a laptop, and I am attempting to get networking setup for the windows vm. If I connect my laptop via the ethernet port and set the appropriate netdev=eth1 in the xend setup the xen networking scripts work fine and I get networking for both the VM(domU) and the the dom0. But since this is a laptop I do not have it connected all the time via wired interface, as a test I changed the netdev to wlan0 and the bridge gets setup but then I lose all connectivity to the router, and cannot reconnect until reboot. Neither the dom0 or domU gets networking in this scenario, I think this has to do with the fact that I am using wpa_supplicant and ndiswrapper for my wireless card and since the bridge technically takes over the connection wpa_supplicant does not have direct access to the card anymore. So due to this, and also the realization that I want the domU and dom0 the have networking even when not connected to an actual network I decided to use a dummy interface as the netdev with dhcp, forwarding dns server, and NAT on this interface,basically making the dom0 a router for the domU. But I cannot get DHCP to start on the dummy interface, I have not tried DNS server yet, and I am unsure of how to set the appropriate iptables rules to NAT from dummy interface to the real active net interface. I do know that setting the IP information manually in the domU does not allow networking between the dummy interface and the domU. So does anyone have any idea how I can get this working? Below is the error I keep recieving for DHCP on the dummy interface.


Quote:
No subnet declaration for dummy0 (0.0.0.0).
Aug 28 12:08:01 sleeperdied dhcpd: ** Ignoring requests on dummy0. If this is not what
Aug 28 12:08:01 sleeperdied dhcpd: you want, please write a subnet declaration
Aug 28 12:08:01 sleeperdied dhcpd: in your dhcpd.conf file for the network segment
Aug 28 12:08:01 sleeperdied dhcpd: to which interface dummy0 is attached. **
Aug 28 12:08:01 sleeperdied dhcpd:
Aug 28 12:08:01 sleeperdied dhcpd:
Aug 28 12:08:01 sleeperdied dhcpd: Not configured to listen on any interfaces!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
windows-style dns/dhcp server setup with dynamic updates fire.is.real Linux - Server 1 08-23-2007 11:00 PM
Dummy interface?? wtf?? DertyolBA$HTARD Linux - Networking 1 11-14-2004 10:01 AM
Apache running under DHCP system and no DNS? Xris718 Linux - General 8 10-09-2004 05:25 PM
how to setup a solaris 8 dhcp server to do dynamic dns updates smiller71 Solaris / OpenSolaris 0 04-02-2004 02:16 PM
DHCP is setup. Now, DNS before Samba?? itsjustme Linux - Networking 3 06-17-2003 08:33 AM


All times are GMT -5. The time now is 11:43 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration