Bug 1584165 Comment 1 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

I think the network remains the same because that both Lan and Wifi connect to the same gateway.
The routing table of my laptop which connects to both Lan and Wifi is:
```
Internet:
Destination        Gateway            Flags        Refs      Use   Netif Expire
default            10.238.24.1        UGSc          113        0     en9
default            10.238.24.1        UGScI           2        0     en0
10.238.24/21       link#8             UCS             3        0     en9      !
10.238.24/21       link#11            UCSI            2        0     en0      !
10.238.24.1/32     link#8             UCS             4        0     en9      !
10.238.24.1        0:59:dc:a2:ee:51   UHLWIir        27        6     en9   1194
10.238.24.1        0:59:dc:a2:ee:51   UHLWIr          0        0     en0   1195
10.238.24.1/32     link#11            UCSI            2        0     en0      !
10.238.28.171/32   link#8             UCS             0        0     en9      !
10.238.28.222/32   link#11            UCS             0        0     en0      !
10.238.30.17       b0:19:c6:b4:70:5d  UHLWI           0        1     en9   1197
10.238.30.17       b0:19:c6:b4:70:5d  UHLWI           0        1     en0   1197
127                127.0.0.1          UCS             0        0     lo0
127.0.0.1          127.0.0.1          UH              1  4821145     lo0
169.254            link#8             UCS             1        0     en9      !
169.254            link#11            UCSI            0        0     en0      !
224.0.0/4          link#8             UmCS            2        0     en9      !
224.0.0/4          link#11            UmCSI           2        0     en0      !
224.0.0.251        1:0:5e:0:0:fb      UHmLWI          0        0     en9
224.0.0.251        1:0:5e:0:0:fb      UHmLWI          0        0     en0
239.255.255.250    1:0:5e:7f:ff:fa    UHmLWI          0       80     en9
239.255.255.250    1:0:5e:7f:ff:fa    UHmLWI          0        4     en0
255.255.255.255/32 link#8             UCS             0        0     en9      !
255.255.255.255/32 link#11            UCSI            0        0     en0      !
```
On MacOS, the network id is calculated based on the MAC address of the default gateway, so if both Lan and Wifi network are connected to the same gateway (like the table above), the network id remains the same.

:bsurd, could you try to run the command `netstat -nr` when connecting to Lan and Wifi to see what the output is?
Thanks.
I think the network id remains the same because that both Lan and Wifi connect to the same gateway.
The routing table of my laptop which connects to both Lan and Wifi is:
```
Internet:
Destination        Gateway            Flags        Refs      Use   Netif Expire
default            10.238.24.1        UGSc          113        0     en9
default            10.238.24.1        UGScI           2        0     en0
10.238.24/21       link#8             UCS             3        0     en9      !
10.238.24/21       link#11            UCSI            2        0     en0      !
10.238.24.1/32     link#8             UCS             4        0     en9      !
10.238.24.1        0:59:dc:a2:ee:51   UHLWIir        27        6     en9   1194
10.238.24.1        0:59:dc:a2:ee:51   UHLWIr          0        0     en0   1195
10.238.24.1/32     link#11            UCSI            2        0     en0      !
10.238.28.171/32   link#8             UCS             0        0     en9      !
10.238.28.222/32   link#11            UCS             0        0     en0      !
10.238.30.17       b0:19:c6:b4:70:5d  UHLWI           0        1     en9   1197
10.238.30.17       b0:19:c6:b4:70:5d  UHLWI           0        1     en0   1197
127                127.0.0.1          UCS             0        0     lo0
127.0.0.1          127.0.0.1          UH              1  4821145     lo0
169.254            link#8             UCS             1        0     en9      !
169.254            link#11            UCSI            0        0     en0      !
224.0.0/4          link#8             UmCS            2        0     en9      !
224.0.0/4          link#11            UmCSI           2        0     en0      !
224.0.0.251        1:0:5e:0:0:fb      UHmLWI          0        0     en9
224.0.0.251        1:0:5e:0:0:fb      UHmLWI          0        0     en0
239.255.255.250    1:0:5e:7f:ff:fa    UHmLWI          0       80     en9
239.255.255.250    1:0:5e:7f:ff:fa    UHmLWI          0        4     en0
255.255.255.255/32 link#8             UCS             0        0     en9      !
255.255.255.255/32 link#11            UCSI            0        0     en0      !
```
On MacOS, the network id is calculated based on the MAC address of the default gateway, so if both Lan and Wifi network are connected to the same gateway (like the table above), the network id remains the same.

:bsurd, could you try to run the command `netstat -nr` when connecting to Lan and Wifi to see what the output is?
Thanks.

Back to Bug 1584165 Comment 1