Quote:
Originally Posted by hawhill
And it's very probably a /24 subnet (where /31 or for conservatives, /30 would have been sufficient). So for now, "match the first three octets" _is_ a technical requirement.
|
Since we are doing some off-topic nit-picking here anyway...
A /31 assignment is not "for conservatives" it is a dedicated point-to-point (P2P) link.
A /30 subnet is the smallest possible IPv4 subnet (with two special purpose addresses plus an address for each end).
The __default__ of USBnetworking on the Kindle is probably a /24 although I haven't personally confirmed that.
A 192.168.0.0/16 subnet on the non-Kindle end of the connection would allow traffic over both the 192.168.15.0/24 and the 192.168.1.0/24 subnets.
You do not have to match a /24 with only a /24, you can use any subnet of which the /24 is a proper subset (and hence my statement about "match the first three octets).
The Linux USBnet "gadget" driver provides a complete Ethernet interface device, connection media just happens to be a USB cable in its special case.