Hi all, > 2011/11/4 Denys Vlasenko <[email protected]>:
Yes! The netmask 255.255.255.255 really works. I can post the result and updated configuration of /usr/share/udhcpc/default.script as follows. >> I don't remembered set the nemask as 255.255.255.255 to a NIC with ifconfig >> won't create an entry in routing table. At least 3G networks works very well. >> The dhclient won't have a problem on this situation. >> Should we fix the udcpc/default.script to cover this kinde of situation? > > Your question should be directed to whoever maintains > /usr/share/udhcpc/default.script file on your machine / distribution. > It is not coming from busybox. Oh. Sorry, I though the script comes with busybox. It's sorry to waste your time but it helped! I'll both report to ubuntu and report to openwrt. The routing table is simple just like the following. The result of using udhcpc with modified default.script is just like how it works with dhclient. Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 111.67.48.1 0.0.0.0 UG 0 0 0 wimax0 111.67.48.1 0.0.0.0 255.255.255.255 UH 0 0 0 wimax0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br-lan -- Best regards, Macpaul Lin _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
