I have been running BBB networking for some time using a netmask of 
255.255.255.0; I now have to expand the network
to 500 hosts, so I changed the mask to 255.255.254.0 to give a network at 
192.168.0.0/23. I edited /etc/network/interfaces,
but that seems to change nothing as per following; blessed connman is NOT 
running:

(got the following off the serial connection)

Debian GNU/Linux 8 beaglebone ttyS0

BeagleBoard.org Debian Image 2017-03-19

root@beaglebone:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.0.231
netmask 255.255.254.0
gateway 192.168.0.1

root@beaglebone:~# ip addr
1: lo...
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state 
UP group default qlen 1000
    link/ether b0:d5:cc:ca:18:0d brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.231/24 brd 192.168.1.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::b2d5:ccff:feca:180d/64 scope link
       valid_lft forever preferred_lft forever
3: usb0...
4: usb1: ...
5: can0: ...
6: can1: ...

root@beaglebone:~# ifconfig
eth0      Link encap:Ethernet  HWaddr b0:d5:cc:ca:18:0d
          inet addr:192.168.1.231  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::b2d5:ccff:feca:180d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:404 errors:0 dropped:0 overruns:0 frame:0
          TX packets:58 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:34286 (33.4 KiB)  TX bytes:7710 (7.5 KiB)
          Interrupt:173

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/0fcbaf33-44c5-42e6-8018-420282dcd335%40googlegroups.com.

Reply via email to