|
Size: 2909
Comment:
|
Size: 2826
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| The 40m has two network segments: the LIGO general computing network and an internal "martian" network. | ''' The 40m has two networks: the LIGO general computing network and an internal "martian" network. ''' |
| Line 5: | Line 5: |
| IP addresses on this network are in the form 131.215.'''114'''.XXX | . IP addresses on this network are in the form 131.215.'''114'''.XXX and 131.215.'''115'''.XXX . . The wireless router connected to the caltech net has hidden SSID "40m" (2GHz), "40m5G1" and "40m5G2" (5GHz). The router is nominally located on the top of the computer rack in the office area. |
| Line 9: | Line 11: |
| IP addresses on the martian network are in the form 131.215.'''113'''.XXX | . IP addresses on the martian network are in the form 192.168.'''113'''.XXX |
| Line 11: | Line 13: |
| The wireless network is on the martian network. | . The wireless network is on the martian network. |
| Line 13: | Line 15: |
| || Gateway || 131.215.113.2 || | || Gateway || 192.168.113.2 || |
| Line 15: | Line 17: |
| || nameserver || 192.168.113.104 || | |
| Line 19: | Line 22: |
| See also [[Martian Host Table]] for IP address assignments on the martian network. | . See the [[Martian_Host_Table|Martian host table]] for IP address assignments on the martian network. |
| Line 21: | Line 24: |
| When you add a new host to the Martian network, choose a name from [[Pool of names for Martian hosts]]. | . When you want to add a new host to the Martian network [[CDS/How_to_join_martian | read this]]. . To ssh to one of the martian computers from a GC computer, ssh into `controls@nodus`, then use `name` (or `name.martian`) for the name. i.e.{{{ssh pianosa.martian }}} . Note that all the access from outside should go through nodus, while the connection from inside to outside is gatewayed by the NAT router (192.168.113.2). |
| Line 25: | Line 32: |
| The wireless network is part of the Martian Network. The Martian ethernet is bridged to wireless via a Linksys Wireless-G access point with IP address 131.215.113.220. Note that the wireless access point is only bridging the wired and wireless networks--it does not do NAT. To access the outside world, your network settings should be the same as given above for the Martian network. The configuration password for the wireless AP is written in a manilla folder in the usual place where equipment manuals are kept. |
On Jan 6th, 2016, the Martian wifi router was replaced with a Netgear R6400. Link to the corresponding [[https://nodus.ligo.caltech.edu:8081/40m/11916|ELOG entry]] |
| Line 28: | Line 34: |
| == How to setup linux1 with a name server == | The router supports a 2 GHz network (11g) named "40MARS" and a 5 GHz network (11ac) "40MARS_5G". These two SSIDs are hidden. |
| Line 30: | Line 36: |
| 1) Linux1 needs network interface statically configured. Example on Debian: edit /etc/network/interfaces, make an entry like {{{ # Intel Corporation 82801DB PRO/100 VE (LOM) Ethernet Controller DEVICE=eth0 BROADCAST=131.215.113.255 HWADDR=00:07:e9:b8:ea:9c IPADDR=131.215.113.20 NETMASK=255.255.255.0 NETWORK=131.215.113.0 ONBOOT=yes GATEWAY=131.215.113.2 TYPE=Ethernet }}} |
The martian IP address of this unit is 192.168.113.232. |
| Line 43: | Line 38: |
| (but figure out how on a CentOS box, it'll be different). | == Wireless Bridge for GPIB instruments == |
| Line 45: | Line 40: |
| 2) Setup the name system-config-bind (needs to be done locally with GUI). Notes: | On Jan 8th, 2016, a new wireless bridge (NETGEAR EX3700) for GPIB instruments was installed. |
| Line 47: | Line 42: |
| - periods are important - the forward look up (name to IP address) can list multiple names for the same IP address. use this to give IP addresses to "services" not just specific computers. For example, "ns.martian" is the name server, and can have the same IP address as "linux1.martian". - in named.conf.options be sure to enable all the interfaces that are needed, including the loop-back device (127.0.0.1) |
Device Name: EX3700_1, Fixed IP: 192.168.113.233 |
| Line 51: | Line 44: |
| 3) Add 127.0.0.1 to /etc/resolv.conf before all the other name servers, as in | It accepts ethernet (wired) devices with fixed IP of 192.168.113.XXX |
| Line 53: | Line 46: |
| nameserver 127.0.0.1 | [[How_To_Configure_NETGEAR_EX3700]] |
| Line 55: | Line 48: |
| At this point you should be able to do host name look-ups: "host linux1.martian" If not, fix before continuing | == Nameserver and DHCP == `chiara` runs the DNS and DHCP for the Martian network, set up largely in the manner detailed in [[https://blogging.dragon.org.uk/dns-with-bind9-and-dhcp-on-ubuntu-14-04/|this website]]. |
| Line 57: | Line 51: |
| 4) replace dhcpv6_client with dhclient and add dhcp (the server package). | Configuration files can be found at{{{ chiara:/etc/bind/named.conf.local chiara:/etc/dhcp/dhcpd.conf }}} |
| Line 59: | Line 56: |
| 5) edit config file (/etc/dhcp3/dhcpd.conf on a Debian system). | and other files in those same directories. |
| Line 61: | Line 58: |
| 6) turn off all other dhcp servers on network (linksys thing), and try rebooting something and see if it picks up an IP address and gets told the correct gateway and name server blah blah blah. | == Mount NFS filesystem == If you want to mount the `/cvs/cds` NFS filesystem on a computer already on the martian network, add the following line to the file {{{/etc/fstab}}}{{{ chiara:/home/cds /cvs/cds nfs rw,bg,nfsvers=3 }}} |
| Line 63: | Line 63: |
| 7) when you edit a config file, you'll need to restart the service. for example, with /etc/init.d/bind restart |
Then make the directory where the ''/cvs/cds'' dir will be mounted, mount the filesystem via {{{ mkdir -p /cvs/cds sudo mount /cvs/cds}}} |
The 40m has two networks: the LIGO general computing network and an internal "martian" network.
LIGO Caltech network
IP addresses on this network are in the form 131.215.114.XXX and 131.215.115.XXX .
- The wireless router connected to the caltech net has hidden SSID "40m" (2GHz), "40m5G1" and "40m5G2" (5GHz). The router is nominally located on the top of the computer rack in the office area.
Martian network
IP addresses on the martian network are in the form 192.168.113.XXX
- The wireless network is on the martian network.
Gateway |
192.168.113.2 |
netmask |
255.255.255.0 |
nameserver |
192.168.113.104 |
nameserver |
131.215.125.1 |
nameserver |
131.215.139.100 |
nameserver |
131.215.254.99 |
See the Martian host table for IP address assignments on the martian network.
When you want to add a new host to the Martian network read this.
To ssh to one of the martian computers from a GC computer, ssh into controls@nodus, then use name (or name.martian) for the name. i.e.ssh pianosa.martian
- Note that all the access from outside should go through nodus, while the connection from inside to outside is gatewayed by the NAT router (192.168.113.2).
Wireless Network
On Jan 6th, 2016, the Martian wifi router was replaced with a Netgear R6400. Link to the corresponding ELOG entry
The router supports a 2 GHz network (11g) named "40MARS" and a 5 GHz network (11ac) "40MARS_5G". These two SSIDs are hidden.
The martian IP address of this unit is 192.168.113.232.
Wireless Bridge for GPIB instruments
On Jan 8th, 2016, a new wireless bridge (NETGEAR EX3700) for GPIB instruments was installed.
Device Name: EX3700_1, Fixed IP: 192.168.113.233
It accepts ethernet (wired) devices with fixed IP of 192.168.113.XXX
How_To_Configure_NETGEAR_EX3700
Nameserver and DHCP
chiara runs the DNS and DHCP for the Martian network, set up largely in the manner detailed in this website.
Configuration files can be found at
chiara:/etc/bind/named.conf.local chiara:/etc/dhcp/dhcpd.conf
and other files in those same directories.
Mount NFS filesystem
If you want to mount the /cvs/cds NFS filesystem on a computer already on the martian network, add the following line to the file /etc/fstab
chiara:/home/cds /cvs/cds nfs rw,bg,nfsvers=3
Then make the directory where the /cvs/cds dir will be mounted, mount the filesystem via
mkdir -p /cvs/cds sudo mount /cvs/cds
