Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
bsd [2006/07/06 12:58] a working with vlans |
bsd [2009/01/06 12:34] a |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== BSD ====== | ====== BSD ====== | ||
+ | < | ||
+ | <box 60% round orange right|**BSD related links**> | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | </ | ||
+ | < | ||
===== FreeBSD ===== | ===== FreeBSD ===== | ||
- | [[http:// | + | |
+ | |||
+ | |||
==== Network stuff ==== | ==== Network stuff ==== | ||
+ | **Forcing link speed** | ||
- | **working with routes** | + | |
+ | |||
+ | ^parameter^description^ | ||
+ | |**autoselect**|Enables auto-negotiation for speed and duplex.| | ||
+ | |**10baseT/ | ||
+ | |**100baseTX**|Sets 100Mbps operation. | ||
+ | |**1000baseSX**|Sets 1000Mbps operation. | ||
+ | |**1000baseTX**|Sets 1000Mbps operation. | ||
+ | |**full-duplex**|Forces full-duplex operation| | ||
+ | |**half-duplex**|Forces half-duplex operation.| | ||
+ | |||
+ | **working with routes | ||
| | ||
Line 13: | Line 34: | ||
ifconfig vlan0 vlan 4 vlandev fxp0 | ifconfig vlan0 vlan 4 vlandev fxp0 | ||
ifconfig vlan0 inet a.a.a.a netmask x.x.x.x up | ifconfig vlan0 inet a.a.a.a netmask x.x.x.x up | ||
+ | |||
+ | **Globetrotter UMTS Card** | ||
+ | cd / | ||
+ | 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:// | ||
+ | It's pretty trivial so no problems with it. | ||
**Firewalling** | **Firewalling** | ||
ipfw list | ipfw list | ||
+ | |||
+ | **Firewalling IPv6** | ||
+ | Below some rules of implementing firewall in FreeBSD. //Using IPFW (please compile your kernel, if it’s not supported).// | ||
+ | |||
+ | < | ||
+ | # Simple Firewall : | ||
+ | (allow network 2404: | ||
+ | ip6fw add 100 allow all from 2404: | ||
+ | |||
+ | (allow network 2001: | ||
+ | ip6fw add 200 allow all from 2001: | ||
+ | |||
+ | (allow all ipv6 to host 2404: | ||
+ | ip6fw add 300 allow all from :: to 2404: | ||
+ | |||
+ | (deny other all traffic). | ||
+ | ip6fw add 1000 deny all from any to any in via fxp0 | ||
+ | </ | ||
===== OpenBSD ===== | ===== OpenBSD ===== | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
===== NetBSD ===== | ===== NetBSD ===== | ||
===== FruBSD ===== | ===== FruBSD ===== | ||
Going through heavy developing phase ... | Going through heavy developing phase ... |