169.254. looks awfully familiar, and it only comes up when device can't get IP. Things would go easier if HDHomerun got an IP from the router. -- William
On Fri, Feb 27, 2015 at 02:21:36AM -0500, Walter Dnes wrote: > This is frustrating, because it works for me under ifconfig, but not > under ip (iproute2). I have 3 devices in this scenario... > > * my desktop PC 192.168.123.251/29 > * an HDHomerun TV tuner that comes up in the 169.254.0.0/16 block > * the ADSL router/modem at 192.168.123.254/29 to which the PC and the > tuner are connected. > > I'm trying to get my desktop PC to talk to the TV tuner using ip. > What am I doing wrong in the following set of commands? > > ip address flush dev eth0 > ip link set eth0 down > ip link set eth0 up > ip address add 192.168.123.251/29 dev eth0 > ip route add default via 192.168.123.254 > ip address add 169.254.1.1/16 dev eth0 > ip route delete 169.254.0.0/16 dev eth0 > ip route add 169.254.0.0/16 via 192.168.123.254 > ip address show > ip route show > > The ouput from the 2 "show" commands is... > 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group > default > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 > inet 127.0.0.1/8 brd 127.255.255.255 scope host lo > valid_lft forever preferred_lft forever > 2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state > DOWN group default qlen 1000 > link/ether 00:1d:09:96:6c:1c brd ff:ff:ff:ff:ff:ff > inet 192.168.123.251/29 scope global eth0 > valid_lft forever preferred_lft forever > inet 169.254.1.1/16 scope global eth0 > valid_lft forever preferred_lft forever > default via 192.168.123.254 dev eth0 > 127.0.0.0/8 dev lo scope host > 169.254.0.0/16 via 192.168.123.254 dev eth0 > 192.168.123.248/29 dev eth0 proto kernel scope link src 192.168.123.251 > > -- > Walter Dnes <[email protected]> > --- > Talk Mailing List > [email protected] > http://gtalug.org/mailman/listinfo/talk --- Talk Mailing List [email protected] http://gtalug.org/mailman/listinfo/talk
