User Tools

Site Tools


eg-253:networkq:572278

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
eg-253:networkq:572278 [2011/12/08 13:45] – [Question 27] abbaseg-253:networkq:572278 [2011/12/09 22:13] (current) – [Question 27] abbas
Line 67: Line 67:
 | The netmask of my host | 255.255.255.0 | | The netmask of my host | 255.255.255.0 |
 | The hardware address (MAC Address) of my LAN-facing network interface connection (NIC)((If your host has two or more network cards, the LAN-facing card will be the NIC assigned to your host's static IP address.)) | 00:19:d1:91:4f:c7 |  | The hardware address (MAC Address) of my LAN-facing network interface connection (NIC)((If your host has two or more network cards, the LAN-facing card will be the NIC assigned to your host's static IP address.)) | 00:19:d1:91:4f:c7 | 
-| The frame-level (layer 1) protocol is used to send network messages to the network from my host? | Answer |  +| The frame-level (layer 1) protocol is used to send network messages to the network from my host? | Ethernet  |  
  
  
Line 220: Line 220:
  
  
 +The purpose of the Gateway interface is to provide a communication bridge between the internet and the networks. Moreover, its used to route messages between them. 
  
  
Line 320: Line 320:
 <cli prompt="$" comment="#"> <cli prompt="$" comment="#">
 user@host:~$ netstat -i user@host:~$ netstat -i
-Kernel Interface table+Kernel Interface table
 Iface   MTU Met   RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR Flg Iface   MTU Met   RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR Flg
-eth0       1500 0    121424           0 0         56519           0      0 BMRU +eth0       1500 0      7275           0 0          5798           0      0 
-lo        16436 0      1350           0 0          1350           0      0 LRU+MRU 
 +lo        16436 0        24           0 0            24           0      0 
 +RU
  
 </cli> </cli>
Line 451: Line 453:
   # route to jupiter-net   # route to jupiter-net
   up route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.3   up route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.3
-  down route del -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.3+  down ro/etc/network/interfacesute del -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.3 
  
  
-# Interface in saturn.net is much simpler 
-auto eth1 
-#iface eth1 inet dhcp 
-iface eth1 inet static 
-  address 192.168.3.1 
-  netmask 255.255.255.0 
-  network 192.168.3.0 
-  gateway 192.168.1.4 
  
 ==== Question 27 ==== ==== Question 27 ====
Line 469: Line 464:
 **Answer** **Answer**
  
 +/etc/resolve.conf
  
-===== Signature =====+/etc/hosts
  
 +/etc/nsswitch.conf
  
-I hereby submit this work for marking.+/etc/network/interfaces
  
-Your signature here: 
  
 +
 +I hereby submit this work for marking.
 +
 +Your signature here:  --- //[[572278@swansea.ac.uk|Abbas]] 2011/12/09 16:13//
eg-253/networkq/572278.1323351952.txt.gz · Last modified: 2011/12/08 13:45 by abbas