Jumpstart, multiple nics and ipv6


Quick tip. In most of the jumpstart examples that one sees, and certainly with the way we configure machines within our own lab, people generally specify one network interface and configure the rest later [1]. Jumpstart, using the network interface keyword can allow you to avoid this if you wish.

Currently we are doing some ipv6 work, and the system that we were setting up has two interfaces which will be used as ipv6 interfaces, while the primary interface is just ipv4. An example sysidcfg file to achieve this on installation is below

system_locale=C
timezone=GB-Eire
terminal=dtterm
network_interface=iprb0 {primary 
                         hostname=mach-ipv4 
                         netmask=255.255.255.0 
                         protocol_ipv6=no 
                         default_route=192.1.2.254}
network_interface=iprb1 {hostname=ipv6-1 
                         ip_address=10.1.1.2 
                         netmask=255.255.255.0 
                         protocol_ipv6=yes 
                         default_route=NONE}
network_interface=e1000g0 {hostname=ipv6-2 
                         ip_address=10.1.2.2 
                         netmask=255.255.255.0 
                         protocol_ipv6=yes 
                         default_route=NONE}
nfs4_domain=sun.com
root_password=xxxxxxxxxxxxx
timeserver=localhost
name_service=NIS { domain_name=blah.test.sun.com }
security_policy=none
This results in the following network setup (this setup is on Nevada build 49).
# ifconfig -a
lo0: flags=2001000849 mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000843 mtu 1500 index 2
        inet 10.1.2.2 netmask ffffff00 broadcast 10.1.2.255
        ether 0:2:b3:bb:c5:b2
iprb0: flags=1000843 mtu 1500 index 3
        inet 192.1.2.230 netmask ffffff00 broadcast 192.1.2.255
        ether 0:3:47:30:ee:21
iprb1: flags=1000843 mtu 1500 index 4
        inet 10.1.1.2 netmask ffffff00 broadcast 10.1.1.255
        ether 0:3:47:30:ee:22
lo0: flags=2002000849 mtu 8252 index 1
        inet6 ::1/128
e1000g0: flags=2000841 mtu 1500 index 2
        inet6 fe80::202:b3ff:febb:c5b2/10
        ether 0:2:b3:bb:c5:b2
iprb1: flags=2000841 mtu 1500 index 4
        inet6 fe80::203:47ff:fe30:ee22/10
        ether 0:3:47:30:ee:22
#

[1] We generally configure extra interfaces within our benchmarking framework, as different configs are required from the same machine.

Technorati Tag(s) : ,
Comments:

Post a Comment:
Comments are closed for this entry.
About

fintanr

Search

Archives
« April 2014
MonTueWedThuFriSatSun
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today