Changes between Version 39 and Version 40 of Tutorials/g0WmLTE/Tutorial5


Ignore:
Timestamp:
Jul 13, 2016, 3:43:18 AM (6 years ago)
Author:
seskar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/g0WmLTE/Tutorial5

    v39 v40  
    8888{{{ dhcpcd eth2 }}}
    8989
    90 The node should get an address in the 192.168.3.0/24 subnet (any existing dhcpd instance on eth2 has to be killed). Use ICMP to test connectivity with the default gateway:
     90The node should get an address in the 192.168.3.0/24 subnet (any existing dhcpd instance on eth2 has to be killed). Once node gets IP address, routing tables need to be set so that some of traffic through will go out over the newly established link e.g. to send all the traffic through LTE link:
     91
     92{{{
     93route add default eth2
     94}}}
     95
     96Once routing tables are adjusted, ICMP can be used to test connectivity with the default gateway:
    9197{{{ ping 192.168.3.1 }}}
    9298resulting in:
     
    137143$QCRMCALL: 1, V4
    138144at!gstatus?
    139 !GSTATUS:
     145!GSTATUS: gets the IP address, de
    140146Current Time:  58               Temperature: 28     
    141147Bootup Time:   6                Mode:        ONLINE         
     
    156162}}}
    157163
    158 Once connection is reset, dhcp lease needs to be renewed; if there is already dhcpd session it needs to be terminated:
     164Once connection is reset, dhcp lease needs to be renewed and new default route added again; if there is already dhcpd session it needs to be terminated:
    159165
    160166{{{
     
    165171root@node1-7:~# dhcpcd.sh: interface eth2 has been configured with new IP=192.168.3.2
    166172
     173root@node1-7:~# route add default eth2
    167174root@node1-7:~#
    168175}}}