Difference between revisions of "Lentil"

From Nuclear Physics Group Documentation Pages
Jump to navigationJump to search
Line 5: Line 5:
 
Currently has ethernet cable to switch, accessing outside world via the VLAN functions of the switch.
 
Currently has ethernet cable to switch, accessing outside world via the VLAN functions of the switch.
 
=== /etc/sysconfig/network-scripts/ifcfg-farm ===
 
=== /etc/sysconfig/network-scripts/ifcfg-farm ===
DEVICE=eth0
+
<pre>DEVICE=eth0
BOOTPROTO=static
+
BOOTPROTO=none
HWADDR=00:0E:0C:4C:E1:52
+
HWADDR=00:0E:0C:4C:E1:52
IPADDR=10.0.0.250
+
IPADDR=10.0.0.250
NETMASK=255.255.252.0
+
NETMASK=255.255.252.0
ONBOOT=yes
+
ONBOOT=yes
TYPE=Ethernet
+
TYPE=Ethernet
 
+
USERCTL=no
=== /etc/sysconfig/network-scripts/ifcfg-eth0.2 ===
+
IPV6INIT=no
# UNH network
+
PEERDNS=yes
VLAN=yes
+
</pre>
DEVICE=eth0.2
+
=== /etc/sysconfig/network-scripts/ifcfg-unh ===
BOOTPROTO=static
+
<pre># UNH network
BROADCAST=132.177.91.255
+
VLAN=yes
IPADDR=132.177.88.254
+
DEVICE=eth0.2
NETMASK=255.255.252.0
+
BOOTPROTO=none
NETWORK=132.177.88.0
+
BROADCAST=132.177.91.255
ONBOOT=yes
+
IPADDR=132.177.88.254
REORDER_HDR=no
+
NETMASK=255.255.252.0
GATEWAY=132.177.88.1
+
NETWORK=132.177.88.0
=== /etc/sysconfig/network-scripts/ifcfg-farm ===
+
ONBOOT=yes
DEVICE=farm
+
REORDER_HDR=no
BOOTPROTO=none
+
GATEWAY=132.177.88.1
TYPE="GRE Tunnel"
+
TYPE=Ethernet
DEVICETYPE=gre
+
USERCTL=no
ONBOOT=no
+
IPV6INIT=no
USERCTL=no
+
PEERDNS=yes
+
</pre>
MY_IPADDR=
 
PEER_IPADDR=132.177.88.183
 
PEER_PRIVATE_NET=10.0.0.0/24
 
 
=== /etc/sysconfig/network-scripts/ifcfg-lo ===
 
=== /etc/sysconfig/network-scripts/ifcfg-lo ===
DEVICE=lo
+
<pre>DEVICE=lo
IPADDR=127.0.0.1
+
IPADDR=127.0.0.1
NETMASK=255.0.0.0
+
NETMASK=255.0.0.0
NETWORK=127.0.0.0
+
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
+
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
+
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
+
BROADCAST=127.255.255.255
ONBOOT=yes
+
ONBOOT=yes
NAME=loopback
+
NAME=loopback
 
+
</pre>
 
[[:Category:Network]]
 
[[:Category:Network]]

Revision as of 18:31, 22 June 2007

General Information

Lentil is a backup server.

Network Configuration

Currently has ethernet cable to switch, accessing outside world via the VLAN functions of the switch.

/etc/sysconfig/network-scripts/ifcfg-farm

DEVICE=eth0
BOOTPROTO=none
HWADDR=00:0E:0C:4C:E1:52
IPADDR=10.0.0.250
NETMASK=255.255.252.0
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes

/etc/sysconfig/network-scripts/ifcfg-unh

# UNH network
VLAN=yes
DEVICE=eth0.2
BOOTPROTO=none
BROADCAST=132.177.91.255
IPADDR=132.177.88.254
NETMASK=255.255.252.0
NETWORK=132.177.88.0
ONBOOT=yes
REORDER_HDR=no
GATEWAY=132.177.88.1
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes

/etc/sysconfig/network-scripts/ifcfg-lo

DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback

Category:Network