Difference between revisions of "Old Tomato"

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-eth0 ===
+
=== /etc/sysconfig/network-scripts/ifcfg-farm ===
# Realtek|RTL-8169 Gigabit Ethernet
+
<pre># Realtek|RTL-8169 Gigabit Ethernet
HWADDR=00:09:5B:BC:EC:C9
+
HWADDR=00:09:5B:BC:EC:C9
DEVICE=eth0
+
DEVICE=eth0
BOOTPROTO=static
+
BOOTPROTO=none
IPADDR=10.0.0.246
+
IPADDR=10.0.0.246
NETMASK=255.255.255.0
+
NETMASK=255.255.255.0
ONBOOT=yes
+
ONBOOT=yes
TYPE=Ethernet
+
TYPE=Ethernet
=== /etc/sysconfig/network-scripts/ifcfg-eth0.2 ===
+
USERCTL=no
# UNH network
+
PEERDNS=yes
VLAN=yes
+
IPV6INIT=no
DEVICE=eth0.2
+
</pre>
BOOTPROTO=static
+
=== /etc/sysconfig/network-scripts/ifcfg-unh ===
BROADCAST=132.177.91.255
+
<pre># UNH network
IPADDR=132.177.88.73
+
VLAN=yes
NETMASK=255.255.252.0
+
DEVICE=eth0.2
NETWORK=132.177.88.0
+
BOOTPROTO=none
ONBOOT=yes
+
BROADCAST=132.177.91.255
REORDER_HDR=no
+
IPADDR=132.177.88.73
GATEWAY=132.177.88.1
+
NETMASK=255.255.252.0
 +
NETWORK=132.177.88.0
 +
ONBOOT=yes
 +
REORDER_HDR=no
 +
GATEWAY=132.177.88.1
 +
TYPE=Ethernet
 +
USERCTL=no
 +
PEERDNS=yes
 +
IPV6INIT=no
 +
</pre>
 
=== /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:43, 22 June 2007

General Information

Okra is the monitoring 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

# Realtek|RTL-8169 Gigabit Ethernet
HWADDR=00:09:5B:BC:EC:C9
DEVICE=eth0
BOOTPROTO=none
IPADDR=10.0.0.246
NETMASK=255.255.255.0
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
PEERDNS=yes
IPV6INIT=no

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

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

/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