User Tools

Site Tools


2016:nsrc-tein-lernet:tcp-ip-lab

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
2016:nsrc-tein-lernet:tcp-ip-lab [2016/03/15 06:41]
philip [TCP/IP Networking Exercises]
2016:nsrc-tein-lernet:tcp-ip-lab [2016/03/15 06:46] (current)
philip [Check your network configuration]
Line 24: Line 24:
             inet addr:​10.10.0.xx ​ Bcast:​10.10.0.255 ​ Mask:​255.255.255.0             inet addr:​10.10.0.xx ​ Bcast:​10.10.0.255 ​ Mask:​255.255.255.0
    
-Is your machine'​s IP address.+where **xx** is your machine'​s IP address.
  
-If your eth0 network card does not have a 10.10.0.xx IP address, then you +DO NOT DO THE FOLLOWING - it is just for information. 
-could configure ​it as follows, but DON'T DO THIS NOW:+ 
 +If the eth0 network card does not have a 10.10.0.xx IP address, then it would be configured ​as follows:
  
   $ sudo ifconfig eth0 10.10.0.xx/​24   $ sudo ifconfig eth0 10.10.0.xx/​24
   $ sudo route add default gw 10.10.0.254   $ sudo route add default gw 10.10.0.254
  
-This is because you are logging in using ssh via the network interface, so +You were asked not to do the above because you are logging in using ssh via the network interface, so 
-you may end up breaking your access to your machine.+you **will** ​end up breaking your access to your machine.
  
 You machine has other interfaces. Use what you've just done above to look at the other interfaces **eth1** and **lo**. You machine has other interfaces. Use what you've just done above to look at the other interfaces **eth1** and **lo**.
2016/nsrc-tein-lernet/tcp-ip-lab.txt · Last modified: 2016/03/15 06:46 by philip