
Issue 11
© Solarflare Communications 2014
268
Solarflare Server Adapter
User Guide
6.6 Configuring the Solarflare Adapter
The drivers will be loaded as part of the as part of the installation. However the adapter will not be
plumbed (implement the TCP/IP stack) or configured (adding IP address and netmask).
Each Solarflare network adapter interface will be named
sfxge<x>
where
<x>
is a unique identifier.
There will be one interface per physical port on the Solarflare adapter.
To plumb an interface enter the following:
ifconfig sfxge<x> plumb
You then need to configure the interface and bring it up to allow data to pass. Enter the following:
ifconfig sfxge<x> <IPv4 address> netmask <netmask> up
This configures the interface and initializes it with the
up
command.
Using IPv6
To plumb and configure using IPv6, enter the following:
ifconfig sfxge<x> inet6 plumb
ifconfig sfxge<x> inet6 up
Then create an IPv6 interface sfxge<x> interface with a link local IPv6 address by entering:
ifconfig sfxge<x> inet6 addif <IPv6 address>/<ipv6 prefix length>
up
This will give an IPv6 interface name of sfxge<x>:1
Using Configuration Files with IPv4
There are three options when using a configuration file with IPv4:
1
Using a static IPv4 address. To use this option, add
<IPv4 address> <netmask>
to:
/etc/hostname.sfxge<x>
2
Using a static IPv4 hostname. To use this option, add
<hostname>
to:
/etc/hostname.sfxge<x>
And modify
/etc/hosts
and
/etc/netmasks
3
Using DHCP. To use this option, enter:
touch /etc/hostname.sfxge<4>
and
NOTE:
The examples below demonstrate the
Solaris 10.x
configuration command.
Solaris 11
users
should refer to Solaris documentation for the equivalent Solaris 11 configuration commands.
NOTE:
This method of plumbing and configuring is temporary. If you reboot your computer the
settings will be lost. To make these settings permanent, create the configuration files as described
below.