Archive

Posts Tagged ‘ethernet’

Configuring the network interfaces on Gentoo

April 30th, 2010 gg1 No comments

On Gentoo the main portion of the network configuration will be done inside the configuration file /etc/conf.d/net.

For example, to configure the IP address and netmask for the eth0 interface you should add the following line to the /etc/conf.d/net file:

config_eth0 {"192.168.0.1 netmask 255.255.255.0"}

Using rp_filter against internal network spoofing

September 27th, 2009 gg1 4 comments

You can configure a lot of service or options using the filesystem /proc. To prevent ip-spoofing the /proc filesystem provide the rp_filter configuration files.

rp_filter

Just a tip to change the MAC address on your MacOS X box

November 22nd, 2008 admin No comments

On a terminal window type:

% sudo ifconfig <interface> ether xx:xx:xx:xx:xx:xx

where <interface> is your NIC (normally en0) and xx:xx:xx:xx:xx:xx is the new MAC address that you want to set.