Changes between Version 39 and Version 40 of Tutorials/g0WmLTE/Tutorial5
- Timestamp:
- Jul 13, 2016, 3:43:18 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/g0WmLTE/Tutorial5
v39 v40 88 88 {{{ dhcpcd eth2 }}} 89 89 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: 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). 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 {{{ 93 route add default eth2 94 }}} 95 96 Once routing tables are adjusted, ICMP can be used to test connectivity with the default gateway: 91 97 {{{ ping 192.168.3.1 }}} 92 98 resulting in: … … 137 143 $QCRMCALL: 1, V4 138 144 at!gstatus? 139 !GSTATUS: 145 !GSTATUS: gets the IP address, de 140 146 Current Time: 58 Temperature: 28 141 147 Bootup Time: 6 Mode: ONLINE … … 156 162 }}} 157 163 158 Once connection is reset, dhcp lease needs to be renewed ; if there is already dhcpd session it needs to be terminated:164 Once 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: 159 165 160 166 {{{ … … 165 171 root@node1-7:~# dhcpcd.sh: interface eth2 has been configured with new IP=192.168.3.2 166 172 173 root@node1-7:~# route add default eth2 167 174 root@node1-7:~# 168 175 }}}