Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
openvpn tap0 - MAC Adresse setzen?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Neo_0815
l33t
l33t


Joined: 24 Feb 2003
Posts: 815
Location: Leipzig

PostPosted: Thu Apr 13, 2006 9:08 am    Post subject: openvpn tap0 - MAC Adresse setzen? Reply with quote

OpenVPN öffnet als Client für jede Konfiguration ja ein tap Interface, tapX.

Wie kann man dessen MAC Adresse setzen - dies ist für die Clients wichtig, damit der Nameserver zusammen mit dem externen DHCP Server korrekte IP Adressen vergibt.
Gibts da eine Möglichkeit das in der Konfig festzulegen, nicht vorher oder im nachhinein per Hand mittels ifconfig!

Gruß
_________________
[img:76661e22b8]http://www.biersekte.de/biersektebanner.gif[/img:76661e22b8]
Back to top
View user's profile Send private message
slick
Bodhisattva
Bodhisattva


Joined: 20 Apr 2003
Posts: 3495

PostPosted: Thu Apr 13, 2006 11:41 am    Post subject: Reply with quote

Das Tap-Device kannst Du ja vor dem Start von openvpn auch "manuell" anlegen, daher denke ich kannst auch mit den üblichen Tools (unter Linux) die Mac setzen.
http://gentoo-wiki.com/HOWTO_Road_Warriors_with_OpenVPN wrote:
At last, we need to bring these interfaces up!

ifconfig tap0 0.0.0.0 promisc up
ifconfig tap1 0.0.0.0 promisc up
Back to top
View user's profile Send private message
Neo_0815
l33t
l33t


Joined: 24 Feb 2003
Posts: 815
Location: Leipzig

PostPosted: Thu Apr 13, 2006 11:45 am    Post subject: Reply with quote

Gibts da per Gentoo ne Option in conf.d/net wo man die mac setzen kann?

Gruß
_________________
[img:76661e22b8]http://www.biersekte.de/biersektebanner.gif[/img:76661e22b8]
Back to top
View user's profile Send private message
slick
Bodhisattva
Bodhisattva


Joined: 20 Apr 2003
Posts: 3495

PostPosted: Thu Apr 13, 2006 11:49 am    Post subject: Reply with quote

Neo_0815 wrote:
Gibts da per Gentoo ne Option in conf.d/net wo man die mac setzen kann?

Ja! (siehe conf.d/net.example)

http://www.gentoo.org/doc/de/handbook/2006.0/handbook-x86.xml?part=4&chap=3#doc_chap8
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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