wan_br_mac delucidazioni su significato e uso (DSL-504T)

  • 2 Risposte
  • 3538 Visite

0 Utenti e 1 Visitatore stanno visualizzando questo topic.

Offline Pondera

  • Membro Anziano
  • ***
  • 309
Qualcuno può darmi delucidazioni riguardo il significato e l'uso di wan_br_mac?!?

Nel log del D-Link DSL-504T V3.02B01T01.RU.20071221:

Jan 1 12:00:14> ip_nat_pptp version 1.5 loaded
Jan 1 12:00:14> (c)2000 Netfilter core team
Jan 1 12:00:14> netfilter PSD loaded - (c) astaro AG
Jan 1 12:00:14> Initializing the WAN Bridge.
Jan 1 12:00:14> Please set the MAC Address for the WAN Bridge.
Jan 1 12:00:14> Set the Environment variable 'wan_br_mac'.
Jan 1 12:00:14> xx.xx.xx.xx.xx.xx

Ho trovato una impostazione della variabile in un log nell'ultima pagina di questo manuale:

http://mcmcc.bat.ru/dlinkt/acorp-russia/ar7_dsp72_feature_control.pdf:

quindi ho impostato da Telnet:

echo wan_br_mac 00.01.02.03.04.05 > /proc/ticfg/env

e il risultato è questo:

Jan 1 12:00:14> Init the gre conntrack!
Jan 1 12:00:14> Init the gre nat!
Jan 1 12:00:14> ip_conntrack_pptp version 1.9 loaded
Jan 1 12:00:14> ip_nat_pptp version 1.5 loaded
Jan 1 12:00:14> (c)2000 Netfilter core team
Jan 1 12:00:14> netfilter PSD loaded - (c) astaro AG
Jan 1 12:00:14> Initializing the WAN Bridge.

Di seguito i log completi.

wan_br_mac non impostata:

Codice: [Seleziona]
Jan 1 12:00:12> NTP Polling Timer for DHCP Started succesfully.
Jan 1 12:00:12> DSL Polling Timer Started succesfully.
Jan 1 12:00:12> Firewall NAT service started
Jan 1 12:00:13> starting on port 80
Jan 1 12:00:14> ip_nat_pptp version 1.5 loaded
Jan 1 12:00:14> (c)2000 Netfilter core team
Jan 1 12:00:14> netfilter PSD loaded - (c) astaro AG
Jan 1 12:00:14> Initializing the WAN Bridge.
Jan 1 12:00:14> Please set the MAC Address for the WAN Bridge.
Jan 1 12:00:14> Set the Environment variable 'wan_br_mac'.
Jan 1 12:00:14> xx.xx.xx.xx.xx.xx
Jan 1 12:00:14> Mounted root (squashfs filesystem) readonly.
Jan 1 12:00:14> Mounted devfs on /dev
Jan 1 12:00:14> 64k freed
Jan 1 12:00:14> Algorithmics/MIPS FPU Emulator v1.5
Jan 1 12:00:14> registered device TI Avalanche SAR
Jan 1 12:00:14> Sangam detected
Jan 1 12:00:14> DSP binary filesize = 385738 bytes
Jan 1 12:00:14> Setting mode to 0xffff
Jan 1 12:00:14> version:[7.03.01.00]
Jan 1 12:00:14> Setting mode to 0xffff
Jan 1 12:00:14> Default Asymmetric MTU for nas0 1500
Jan 1 12:00:14> Registering protocol inspector: 0x94171878 for VCC:0x9425ca00
Jan 1 12:00:14> Default Asymmetric MTU for br0 1500
Jan 1 12:00:14> Bridge Created: br0
Jan 1 12:00:14> 2
Jan 1 12:00:14> Bridge Created: br1
Jan 1 12:00:15> Bridge Interface Added: eth0
Jan 1 12:00:16> Default Asymmetric MTU for br1 1500
Jan 1 12:00:16> 2
Jan 1 12:00:22> DSL Carrier is down
Jan 1 12:00:26> DSL in Sync
Jan 1 12:00:32> DSL Carrier is up
Jan 1 12:00:33> sar read trained mode (1)(ADSL_G.dmt)
Jan 1 12:00:33> pppd 2.4.3 started by root, uid 0
Jan 1 12:00:34> Connect: ppp0 {--} nas0
Jan 1 12:00:34> PAP authentication succeeded
Jan 1 12:00:34> peer from calling number 00:90:1A:41:45:FA authorized
Jan 1 12:00:34> ppp0
Jan 1 12:00:34> WAN IP address 87.11.254.240
Jan 1 12:00:34> WAN gateway 192.168.100.1
Jan 1 12:00:34> primary DNS address 85.37.17.58
Jan 1 12:00:34> secondary DNS address 85.38.28.94
Jan 1 12:00:34> PPPoE Connect with IP Address 87.11.254.240
Jan 1 12:00:35> PPPoE Connection Successfully Established
Jan 1 12:00:35> PPPoE Connect with Gateway IP Address: 192.168.100.1



wan_br_mac impostata a 00.01.02.03.04.05

Codice: [Seleziona]
Jan 1 12:00:12> NTP Polling Timer for DHCP Started succesfully.
Jan 1 12:00:12> DSL Polling Timer Started succesfully.
Jan 1 12:00:12> Firewall NAT service started
Jan 1 12:00:13> starting on port 80
Jan 1 12:00:14> Init the gre conntrack!
Jan 1 12:00:14> Init the gre nat!
Jan 1 12:00:14> ip_conntrack_pptp version 1.9 loaded
Jan 1 12:00:14> ip_nat_pptp version 1.5 loaded
Jan 1 12:00:14> (c)2000 Netfilter core team
Jan 1 12:00:14> netfilter PSD loaded - (c) astaro AG
Jan 1 12:00:14> Initializing the WAN Bridge.
Jan 1 12:00:14> Mounted root (squashfs filesystem) readonly.
Jan 1 12:00:14> Mounted devfs on /dev
Jan 1 12:00:14> 64k freed
Jan 1 12:00:14> Algorithmics/MIPS FPU Emulator v1.5
Jan 1 12:00:14> registered device TI Avalanche SAR
Jan 1 12:00:14> Sangam detected
Jan 1 12:00:14> DSP binary filesize = 385738 bytes
Jan 1 12:00:14> Setting mode to 0xffff
Jan 1 12:00:14> version:[7.03.01.00]
Jan 1 12:00:14> Setting mode to 0xffff
Jan 1 12:00:14> Default Asymmetric MTU for nas0 1500
Jan 1 12:00:14> Registering protocol inspector: 0x94171878 for VCC:0x9425ca00
Jan 1 12:00:14> Default Asymmetric MTU for br0 1500
Jan 1 12:00:14> Bridge Created: br0
Jan 1 12:00:14> 2
Jan 1 12:00:14> Bridge Created: br1
Jan 1 12:00:15> Bridge Interface Added: eth0
Jan 1 12:00:16> Default Asymmetric MTU for br1 1500
Jan 1 12:00:16> 2
Jan 1 12:00:22> DSL Carrier is down
Jan 1 12:00:26> DSL in Sync
Jan 1 12:00:32> DSL Carrier is up
Jan 1 12:00:33> sar read trained mode (1)(ADSL_G.dmt)
Jan 1 12:00:33> pppd 2.4.3 started by root, uid 0
Jan 1 12:00:34> Connect: ppp0 {--} nas0
Jan 1 12:00:34> PAP authentication succeeded
Jan 1 12:00:34> peer from calling number 00:90:1A:41:45:FA authorized
Jan 1 12:00:34> WAN IP address 87.11.14.182
Jan 1 12:00:34> WAN gateway 192.168.100.1
Jan 1 12:00:34> primary DNS address 85.37.17.58
Jan 1 12:00:34> secondary DNS address 85.38.28.94
Jan 1 12:00:34> ppp0
Jan 1 12:00:34> PPPoE Connect with IP Address 87.11.14.182
Jan 1 12:00:35> PPPoE Connection Successfully Established
Jan 1 12:00:35> PPPoE Connect with Gateway IP Address: 192.168.100.1
« Ultima modifica: 28 Marzo 2008, 13:33 da Pondera »

Offline zdnko

  • Esperto
  • ****
  • 1750
Re: wan_br_mac delucidazioni su significato e uso (DSL-504T)
« Risposta #1 il: 28 Marzo 2008, 14:17 »
Siamo sicuri che l'Init the gre  sia legato al wan_br_mac?

Da quanto risulta qui http://www.cisco.com/en/US/tech/tk827/tk369/tk287/tsd_technology_support_sub-protocol_home.html il Generic Routing Encapsulation (GRE) serve per incapsulare un x protocollo in un ip tunnel (layer3 o 4?).

Il mac sta al layer2 della pila iso osi.

Le righe:
Jan 1 12:00:14> Init the gre conntrack!
Jan 1 12:00:14> Init the gre nat!
compaiono sempre e solo quando il mac è settato?

bye
Non rispondo a chi usa cappa ed abbreviazioni inutili.
Cestino immediatamente i PM riguardanti argomenti trattabili nel forum (nessuna deroga).

Offline Pondera

  • Membro Anziano
  • ***
  • 309
Re: wan_br_mac delucidazioni su significato e uso (DSL-504T)
« Risposta #2 il: 28 Marzo 2008, 16:20 »
Siamo sicuri che l'Init the gre  sia legato al wan_br_mac?
Le righe:
Jan 1 12:00:14> Init the gre conntrack!
Jan 1 12:00:14> Init the gre nat!
compaiono sempre e solo quando il mac è settato?
La risposta è si a entrambe!