Änderungen

Zur Navigation springen Zur Suche springen
1.593 Bytes hinzugefügt ,  23:10, 1. Nov. 2004
Zeile 55: Zeile 55:     
==Configuring the network==
 
==Configuring the network==
 +
In terms of hardware, the linksys (v2) has only two interfaces called eth0 and eth1. The eth0 interface is split up via so called vlan tagging which results in two additional interfaces seen by the network stack vlan0 and vlan1 so you end up  having three configurable interfaces which serve different purposes.
    +
eth1:&nbsp;&nbsp;&nbsp;The wireless network<br>
 +
vlan0:&nbsp;&nbsp;The four-port switch<br>
 +
vlan1:&nbsp;&nbsp;The "WAN" link, which is per default used for the internet uplink<br><br>
 +
 +
In the standard configuration, the vlan0 and eth1 interfaces are bound together in a so called bridge (seen as br0), that is: they are seen by the upper software layers as one physical interface with one IP address. Consequently, you cannot seperate your wired network and what is connected through the wireless interface which is something you would really apreciate from a security point of view.<br><br>
 +
 +
I'll try to show you, how you can change this and finally have two seperate interfaces with two seperate networks for which all sort of rules to shape and control network traffic can be applied.<br><br>
 +
 +
Many options for the linksys are controlled by simple attribute=value pairs. The tool you use is called "nvram" which can be called as follows:<br><br>
 +
 +
'''nvram show'''&nbsp;&nbsp;shows all variables set.<br><br>
 +
'''nvram get <attribute name>&nbsp;&nbsp;shows the value of the attribute<br><br>
 +
'''nvram set <name>=<value>&nbsp;&nbsp;sets the attribute <name> to the new value <value><br><br>
 +
'''nvram commit'''&nbsp;&nbsp;writes changes to the flash disk<br><br>
 +
 +
...to be continued
 
===Ad-hoc networking===
 
===Ad-hoc networking===
  
Anonymer Benutzer

Navigationsmenü