This is an old revision of the document!
Forcing link speed
ifconfig em0 media 100BaseFX mediaopt full-duplex
|autoselect||Enables auto-negotiation for speed and duplex.|
|10baseT/UTP||Sets 10Mbps operation. Use the mediaopt option to select full-duplex mode.|
|100baseTX||Sets 100Mbps operation. Use the mediaopt option to select full-duplex mode.|
|1000baseSX||Sets 1000Mbps operation. Only full-duplex mode is supported at this speed.|
|1000baseTX||Sets 1000Mbps operation. Only full-duplex mode is supported at this speed.|
|full-duplex||Forces full-duplex operation|
|half-duplex||Forces half-duplex operation.|
working with routes (print routing table)
creating interface vlans
ifconfig vlan0 create ifconfig vlan0 vlan 4 vlandev fxp0 ifconfig vlan0 inet a.a.a.a netmask x.x.x.x up
Globetrotter UMTS Card
cd /usr/ports/comm/hso-kmod/ make install clean kldload hso hsoctl -n -a internet -p PIN hso0 -u mobitel -k internet There is a problem with the code used from ports (at least for me it was). If you'll get disconnected right after connection, go to http://www.shapeshifter.se/code/hso/ and download/install the code manually. It's pretty trivial so no problems with it.
Firewalling IPv6 Below some rules of implementing firewall in FreeBSD. Using IPFW (please compile your kernel, if it’s not supported). It’s easy as IPv4.
# Simple Firewall : (allow network 2404:170::/32 to any host) ip6fw add 100 allow all from 2404:170::/32 to any in via fxp0 (allow network 2001:dc6::/32 to any host) ip6fw add 200 allow all from 2001:dc6::/32 to any in via fxp0 (allow all ipv6 to host 2404:170:ee02::10) ip6fw add 300 allow all from :: to 2404:170:ee02:ee02::10 in via fxp0 (deny other all traffic). ip6fw add 1000 deny all from any to any in via fxp0
Going through heavy developing phase …