
Bgate-GT10-D24-N22-P
Zoomnet Confidential Proprietary
@ 2013 Zoomnet Corporation. All rights reserved
10
[[-]trailers] [[-]arp] [[-]allmulti]
[multicast] [[-]promisc] [txqueuelen NN] [[-]dynamic]
[mem_start NN] [io_addr NN] [irq NN]
[up|down]
Parameters description:
interface:
Port of network device.
down:
Disable the specified port.
up:
Enable the specified port.
-arp:
Enable or disable a specified port using the ARP protocol, when put a negative sign
front “arp”, it means disable this option.
-allmuti:
Enable or disable the indistinction mode of specified port, when put a negative sign
front “allmuti”, it means disable this option.
-promisc:
Enable or disable the promiscuous mode of specified network device, when put a
negative sign front “promisc”, it means disable this option.
add<IP>:
Set Ipv6 address for network device.
del<IP>:
Delete the Ipv6 address of network device.
media<type>:
Set type of media for network device
mem_start<memory address>:
Set the initial address of primary memory for network
device.
metric< number>:
A numeral add to the packetage When calculate its forwarded time.
mtu<value>:
Set MTU for network device.
netmask< subnet mask>:
Set subnet mask for network device.
tunnel< IP>:
Set a tunnel IP address for Ipv4 device communicating with Ipv6 device.
-broadcast<IP>:
Packets sent to the specified address are treated as broadcast packets.
-pointopoint< IP>:
Derectly connect with the specified network device, this mode can keep
secret.
Instance:
# brctl addif br0 wifi0_wlan0 //Add the virtual AP(wifi0_wlan0) to bro port.
# ifconfig br0 192.168.0.1 netmask 255.255.255.0 // Set IP address and netmask
# ifconfig br0 192.168.0.1 // Set IP address
3.2.2 iwconfig
iwconfig command is a set of instructions used to set up and run the WLAN interface
commands. The usages are similar to ifconfig, but they are only for 802.11 devices.
Online help is as followss:
# iwconfig --help