Virtual Wireless Access Point
Basically, I want to be able to connect to a wireless network from my laptop. Then, I want my virtual machine to acquire internet access via a bridged connection from ETH0 of the VM to the host’s primary wireless adapter.I have already successfully accomplished this much.
Now, I have eth1 configured as a DHCP server on the virtual machine (aka DEBIAN Router). Currently, I have this bridged to the physical 10/100 nic on my laptop (for now, Ill address the wifi part of this connection later). The NIC itself obtains IP from the VM, which is fine, i assume. I connected my netbook to the physical 10/100 port; it receives an IP address from ETH1 just fine, but fails to connect to the internet. I have ip forwarding enabled, but don't know how to route internet requests outside of the LAN the VM is hosting, to the WAN the laptops physical wifi nic is connected to.
I can access the virtual machines web server, but no resources outside of the virtual LAN. So this is where I am stuck. In the end, I want to configure a second wireless NIC on the Host machine as “virtual access point”, not ad-hoc. A client computer will see the virtual ap listed in wireless connections as a standard wireless router, connect to it, and be online. My ultimate goal is to set up traffic analyzing for any clients connected through the “virtual access point” by routing all wireless traffic connected to the second wifi nic, through the internet connection of the primary wireless connection on the host machine.
debian wifi router dnsmasq
bumped to the homepage by Community♦ 27 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
Basically, I want to be able to connect to a wireless network from my laptop. Then, I want my virtual machine to acquire internet access via a bridged connection from ETH0 of the VM to the host’s primary wireless adapter.I have already successfully accomplished this much.
Now, I have eth1 configured as a DHCP server on the virtual machine (aka DEBIAN Router). Currently, I have this bridged to the physical 10/100 nic on my laptop (for now, Ill address the wifi part of this connection later). The NIC itself obtains IP from the VM, which is fine, i assume. I connected my netbook to the physical 10/100 port; it receives an IP address from ETH1 just fine, but fails to connect to the internet. I have ip forwarding enabled, but don't know how to route internet requests outside of the LAN the VM is hosting, to the WAN the laptops physical wifi nic is connected to.
I can access the virtual machines web server, but no resources outside of the virtual LAN. So this is where I am stuck. In the end, I want to configure a second wireless NIC on the Host machine as “virtual access point”, not ad-hoc. A client computer will see the virtual ap listed in wireless connections as a standard wireless router, connect to it, and be online. My ultimate goal is to set up traffic analyzing for any clients connected through the “virtual access point” by routing all wireless traffic connected to the second wifi nic, through the internet connection of the primary wireless connection on the host machine.
debian wifi router dnsmasq
bumped to the homepage by Community♦ 27 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
Basically, I want to be able to connect to a wireless network from my laptop. Then, I want my virtual machine to acquire internet access via a bridged connection from ETH0 of the VM to the host’s primary wireless adapter.I have already successfully accomplished this much.
Now, I have eth1 configured as a DHCP server on the virtual machine (aka DEBIAN Router). Currently, I have this bridged to the physical 10/100 nic on my laptop (for now, Ill address the wifi part of this connection later). The NIC itself obtains IP from the VM, which is fine, i assume. I connected my netbook to the physical 10/100 port; it receives an IP address from ETH1 just fine, but fails to connect to the internet. I have ip forwarding enabled, but don't know how to route internet requests outside of the LAN the VM is hosting, to the WAN the laptops physical wifi nic is connected to.
I can access the virtual machines web server, but no resources outside of the virtual LAN. So this is where I am stuck. In the end, I want to configure a second wireless NIC on the Host machine as “virtual access point”, not ad-hoc. A client computer will see the virtual ap listed in wireless connections as a standard wireless router, connect to it, and be online. My ultimate goal is to set up traffic analyzing for any clients connected through the “virtual access point” by routing all wireless traffic connected to the second wifi nic, through the internet connection of the primary wireless connection on the host machine.
debian wifi router dnsmasq
Basically, I want to be able to connect to a wireless network from my laptop. Then, I want my virtual machine to acquire internet access via a bridged connection from ETH0 of the VM to the host’s primary wireless adapter.I have already successfully accomplished this much.
Now, I have eth1 configured as a DHCP server on the virtual machine (aka DEBIAN Router). Currently, I have this bridged to the physical 10/100 nic on my laptop (for now, Ill address the wifi part of this connection later). The NIC itself obtains IP from the VM, which is fine, i assume. I connected my netbook to the physical 10/100 port; it receives an IP address from ETH1 just fine, but fails to connect to the internet. I have ip forwarding enabled, but don't know how to route internet requests outside of the LAN the VM is hosting, to the WAN the laptops physical wifi nic is connected to.
I can access the virtual machines web server, but no resources outside of the virtual LAN. So this is where I am stuck. In the end, I want to configure a second wireless NIC on the Host machine as “virtual access point”, not ad-hoc. A client computer will see the virtual ap listed in wireless connections as a standard wireless router, connect to it, and be online. My ultimate goal is to set up traffic analyzing for any clients connected through the “virtual access point” by routing all wireless traffic connected to the second wifi nic, through the internet connection of the primary wireless connection on the host machine.
debian wifi router dnsmasq
debian wifi router dnsmasq
asked Dec 9 '12 at 17:04
jaypiratejaypirate
261
261
bumped to the homepage by Community♦ 27 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 27 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Use the route command in your VM - eg, check out man route
.
add a comment |
You need to set up ip masquerading.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f58026%2fvirtual-wireless-access-point%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Use the route command in your VM - eg, check out man route
.
add a comment |
Use the route command in your VM - eg, check out man route
.
add a comment |
Use the route command in your VM - eg, check out man route
.
Use the route command in your VM - eg, check out man route
.
answered Mar 28 '13 at 13:04
hunter2hunter2
227215
227215
add a comment |
add a comment |
You need to set up ip masquerading.
add a comment |
You need to set up ip masquerading.
add a comment |
You need to set up ip masquerading.
You need to set up ip masquerading.
answered Sep 9 '13 at 14:07
psusipsusi
13.7k22539
13.7k22539
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f58026%2fvirtual-wireless-access-point%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown