Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Will Linux bridge with tap networking work on a WIFI device?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dman777
l33t
l33t


Joined: 10 Jan 2007
Posts: 907

PostPosted: Wed Feb 14, 2018 4:05 pm    Post subject: Will Linux bridge with tap networking work on a WIFI device? Reply with quote

I have moved into a new apartment and my cable internet is in a different room than my PC. I am going to have to hook my PC with wifi.

I use my Gentoo system as KVM server using a linux bridge.

My question is...
1) Can I assign a static ip to my wifi device based on the mac address in my router? This is how I did it with my ethernet device
2) Will the linux bridge with tap networking work when the device is a wifi?
_________________
<h5>Checkout <em>#grandmasboy</em> on <em>freenode</em>...chat with jayP bot from the movie!</h5>
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 6677
Location: almost Mile High in the USA

PostPosted: Wed Feb 14, 2018 8:27 pm    Post subject: Reply with quote

Since doing things like this depends on your wireless solution/router, not enough information is provided. My guess is that most wireless routers will not pass public IPs to your wireless and thus you will need to do things with your router/wireless to enable what you want. You may even need to use an external wireless router that's used in AP/bridge mode versus router mode.

You can always set your machines to a "static" but local address, but again without a public address, you'll need to do port routing/reverse NAT. Hence confusion.

So need clarification here... and likely nothing you can do on the Linux side. On the bright side, it is possible to bridge a wifi just fine, but you still need to assign an IP address and likely if you're using ISP provided equipment, you have to assign a private address whether it be static or not.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Mad Merlin
Veteran
Veteran


Joined: 09 May 2005
Posts: 1152

PostPosted: Thu Feb 15, 2018 11:02 pm    Post subject: Reply with quote

That depends what kind of networking you're using for your guests. Wireless devices generally will only allow traffic from one source MAC address to be transmitted, which means that your KVM guests can't be bridged directly into the local network when using wireless. You can NAT them, but NAT is ugly.
_________________
Game! - Where the stick is mightier than the sword!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum