Route/arp help?
Iasen Kostov
tbyte at OTEL.net
Wed Apr 13 13:12:22 PDT 2005
M. Parsons wrote:
>To access my dsl modem's line stats page, I have to create an arp
>entry and a route for it, under linux this was done as: (eth1
>connected directly to dsl modem)
>
>ifconfig eth1 10.0.0.2 netmask 255.255.255.0
>route add 10.0.0.1 dev eth1
>
>
route add -net 10.0.0.1/32 -iface de0 -cloning
But 'ifconfig de0 10.0.0.2 netmask 255.255.255.0' (or ifconfig de0
10.0.0.2/24) should set a 10.0.0.0/24 route via de0 why would you want
to set it again ?
>arp -s 10.0.0.1 ffffffffffffffffff (not really fffff, but the MAC
>address of the dsl modem, NOT the nic).
>
>unfortunately, I cant seem to figure out the commands to get this to
>work under FreeBSD 5.3
>
>Ifconfig is simple enough (replace eth1 with de0 in my case)
>
>Arp seems the same (except it needs colons)
>
>But the route command I have no clue. It doesnt seem to follow the
>same syntax as linux, and I havent figured out the correct syntax yet.
>
>Any help?
>
>Thanks,
>
>Mark
>_______________________________________________
>freebsd-hackers at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>
>
>
More information about the freebsd-hackers
mailing list