12.07.2015 Views

download

download

download

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 7You can also shorten the syntax by using CIDR notations instead of using theprefixlen keyword. The equivalent of the previous example, using CIDR notation,would look like the following command line:# ifconfig fxp0 inet6 2001:db8:bdbd::123/48Configuring Layer2 AddressYou may want to modify the MAC address on your network interface for anyreason. This is possible using ifconfig with the ether address family to modifythe layer2 addresses.For example, you can set the MAC address on xl0 interface to 00:01:02:ae:13:57using the following command:# ifconfig xl0 ether 00:01:02:ae:13:57Changing Ethernet address will briefly reset the interface in orderto ensure that the MAC address is correctly set. If you are remotelyconnected to the server, changing the MAC address on the interface thatyou are connected to, may result in your connection getting dropped.Configuring IPXThe support for IPX protocol is not enabled by default in GENERIC kernel, and acustom kernel with IPX option should be compiled (explained in Chapter 2) tosupport the IPX address family.To enable IPX support, the following line should be added to the kernelconfiguration file:optionsIPXThe IPX protocol functionality will be available after the system is rebooted withnewly compiled custom kernel.In order to assign an IPX address to a network interface card, you may useifconfig(8) with ipx as the address family parameter as shown here:# ifconfig xl0 ipx 0x101The above example assigns IPX address 0x101 to xl0 interface.The IPX address can be assigned in the netnum[.nodenum] format, where netnum isone to eight hexadecimal digit IPX network number and optional nodenum parameteris twelve hexadecimal digit link-level address.[ 107 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!