Chapter 1 Linux Network Infrastructure

 

This chapter gives the computer system information, network configuration.

 

1.1 Computer System Information

           

Table 1.1 shows the CPU, memory, OS information of the computers that are used in the project. This information is from  /proc/cpuinfo, /proc/meminfo,  uname -a

 

Machine

CPU Information

Memory Info

OS Info

Dublin.cs.unh.edu

Pentium III (728.455MHz)

Mem:256MB Swap:1GB

Red Hat Linux 7.0 kernel2.4.10

Madrid.cs.unh.edu

Pentium III (728.448MHz)

Mem:512MB

Swap: 1GB

Red Hat Linux 7.0 kernel2.2.16

Prague.cs.unh.edu

Pentium III (728.458MHz)

Mem:256MB Swap:1GB

Red Hat Linux 7.0 kernel2.2.16

 

Table 1.1 Computers used in this project.

 

1.2 Network Configuration Information

 

Table 1.2 shows the Network interfaces setting in the project. This information is got from the result of  command “ifconfig” and “/sbin/lsmod”. The basic diagram is shown at Figure 1.1.

 

Machine

Interface

Chip

IP address

Mac Address

Dublin.cs.unh.edu

 

100Mb/s Eth0

3Com 3c90x

132.177.8.28/25

00:B0:D0:FE:D8:09

100Mb/s Eth1

Tulip

192.168.2.1/24

00:C0:F0:6A:56:51

100Mb/s Eth2

Tulip

192.168.1.1/24

00:C0:F0:6A:6D:0C

Madrid.cs.unh.edu

100Mb/s Eth0

3Com 3c90x

132.177.8.27/25

00:B0:D0:D8:FD:EA

100Mb/s Eth1

Tulip

192.168.1.2/24

00:C0:F0:6A:74:F1

100Mb/s Eth2

Tulip

192.168.3.1/24

00:C0:F0:6A:74:ED

Prague.cs.unh.edu

100Mb/s Eth0

3Com 3c90x

132.177.8.29/25

00:B0:D0:D8:FE:91

100Mb/s Eth1

Tulip

192.168.2.2/24

00:C0:F0:6A:6D:4E

100Mb/s Eth2

Tulip

192.168.3.2/24

00:C0:F0:6A:75:10

 

Table 1.2 Network interfaces settings.

 

 

 

 

 

 

 

1.2.1 Basic Diagram

                       ------------------
                       |      switch    |
                       |                |
                       |  10    9    11  |
                       ------------------
                           |    |      |
                           |    |      |
                           |    |      |  132.177.8.0/25
        -------------------     |      -------------------
        |                       |                        |
        |                       |                        |
        |                       |                        |
        |                       |                        |
  -----------------    -------------------    ---------------------
  |     eth0       |    |       eth0       |    |       eth0         |
  |               |    |                 |    |                   |
  |    Madrid     |    |       Dublin     |    |       Prague       |
  |               |    |                 |    |                   |
  | eth2   eth1    |    | eth2     eth1    |    | eth1     eth2      |
  -----------------    -------------------    ---------------------
  3.1|     |1.2        1.1|        |2.1       2.2 |       | 3.2
     |     ----------------        ----------------       |
     |         192.168.1.0/24           192.168.2.0/24   |
     |                                                   |
     -----------------------------------------------------
                     192.168.3.0/24
 
Figure 1.1 Infrastructure diagram.
 
Experiments in this chapter refer to this route:
 
Madrid:eth1 ==> Dublin:eth2 ==> Dublin:eth1 ==> Prague:eth1
 

Dublin is used as router.

 

1.2.2 Static Route Setting:

 

Now we show the route setting in these machines. We get this information by command “route”.

 

·        Madrid.cs.unh.edu

 

Destination Gateway Genmask Flags Metric Ref Use Iface

132.177.8.0   *   255.255.255.128  U     0     0   0   eth0

192.168.3.0   *   255.255.255.0   U     0     0   0   eth2

192.168.2.0 192.168.1.1 255.255.255.0 UG    0     0   0   eth1

192.168.1.0   *   255.255.255.0   U     0     0   0   eth1

127.0.0.0     *   255.0.0.0      U     0     0   0   lo

default   phub0.cs.unh.edu 0.0.0.0    UG    0     0   0   eth0

 

·        Dublin.cs.unh.edu

 

Destination Gateway Genmask Flags Metric Ref Use Iface

132.177.8.0  *    255.255.255.128   U     0     0   0   eth0

192.168.3.0 192.168.2.2 255.255.255.0 UG    0     0   0   eth1

192.168.2.0  *     255.255.255.0  U     0     0   0   eth1

192.168.1.0  *    255.255.255.0       U     0     0   0   eth2

127.0.0.0    *     255.0.0.0     U     0     0   0    lo

default  phub0.cs.unh.edu 0.0.0.0  UG    0      0   0   eth0

 

 

·        Prague.cs.unh.edu

 

Destination Gateway Genmask Flags Metric Ref Use Iface

132.177.8.0   *  255.255.255.128 U     0     0   0   eth0

192.168.3.0   *  255.255.255.0        U     0     0   0   eth2

192.168.2.0   *  255.255.255.0        U     0     0   0   eth1

192.168.1.0 192.168.2.1 255.255.255.0 UG    0     0   0     eth1

127.0.0.0     *  255.0.0.0       U        0     0   0   lo

default   phub0.cs.unh.edu 0.0.0.0    UG    0     0   0   eth0

 

1.2.3 TCP parameters on the machines we are using

 

Table 1.3 shows the TCP information of Dublin.cs.unh.edu (kernel 2.4.10). Table 1.4 shows the TCP information of Madrid and Prague (kernel 2.2.16). We get this table from proc file system.  /proc/sys/net/ipv4/tcp*

 

tcp_max_tw_buckets                180000

tcp_ecn                                    1

tcp_mem          48128   48640   49152

tcp_syn_retries             5

tcp_orphan_retries                    0

tcp_fack                                   1

tcp_reordering                          3

tcp_synack_retries                    5

tcp_retrans_collapse                 1

tcp_fin_timeout                         60

tcp_retries1                              3

tcp_syncookies             0

tcp_retries2                              15

tcp_keepalive_intvl                   75

tcp_abort_on_overflow            0

tcp_timestamps             1

tcp_rfc1337                             0

tcp_keepalive_probes               9

tcp_adv_win_scale      2

tcp_tw_recycle             0

tcp_rmem         4096    87380   174760

tcp_keepalive_time                   7200

tcp_app_win                            31

tcp_window_scaling                 1

tcp_sack                                  1

tcp_max_orphans        8192

tcp_dsack                                1

tcp_wmem       4096    16384   131072

tcp_stdurg                                0

tcp_max_syn_backlog              1024

 

Table 1.3 Dublin TCP version information

 

tcp_max_tw_buckets                N/A

tcp_ecn                                    N/A

tcp_mem                                  N/A

tcp_syn_retries             10

tcp_orphan_retries                    N/A

tcp_fack                                   N/A

tcp_reordering                          N/A

tcp_synack_retries                    5

tcp_retrans_collapse                 1

tcp_fin_timeout                         180

tcp_retries1                              7

tcp_syncookies             0

tcp_retries2                              15

tcp_keepalive_intvl                   N/A

tcp_abort_on_overflow            N/A

tcp_timestamps             1

tcp_rfc1337                             0

tcp_keepalive_probes               9

tcp_adv_win_scale      N/A

tcp_tw_recycle             N/A

tcp_rmem                                 N/A

tcp_keepalive_time                   7200

tcp_app_win                            N/A

tcp_window_scaling                 1

tcp_sack                                  1

tcp_max_orphans        N/A

tcp_dsack                                N/A

tcp_wmem                               N/A

tcp_max_ka_probes                5

tcp_stdurg                                0

tcp_max_syn_backlog              128

 

Table 1.4 TCP version information on Madrid and Prague