Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Oct 2010 15:39:35 +0330
From:      "Sergeant M.G.Bob" <sergeant.m.g.bob@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   change MAC address for PPPoE connection
Message-ID:  <AANLkTimCCXC7vmWVyYdveb0XeOjzR1T-b%2BQ286F3sPHz@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello
I'm using PPPoE link to connect to the INTERNET. my problem is that I have
to change my MAC address for my night time link. I do that using ifconfig
command before connecting the night link:

*killall ppp
ifconfig cdce0 ether 2a:00:00:00:00:00
ppp -ddial adslnight*

cdce0 is the interface connected to the ADSL modem. command will change the
MAC address on the interface but PPP still uses the old MAC (I can see it
over tcpdump).
I think it's some cache or something that keeps the old MAC.
please help me, I couldn't find anything related on-line.

my ppp.conf:
*adsl:
  set log Phase tun command
  set redial 99 3
  set device PPPoE:cdce0
  set authname UserName
  set authkey Password
  set dial
  set login
  add default HISADDR

adslnight:
  set log Phase tun command
  set redial 99 3
  set device PPPoE:cdce0
  set authname NightUserName
  set authkey NightPassword
  set dial
  set login
  add default HISADDR*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimCCXC7vmWVyYdveb0XeOjzR1T-b%2BQ286F3sPHz>