On Thu Mar 22 2001 at 07:42, John Summerfield wrote:
> > I want to bring up an interface with an address of 0.0.0.0
> > (At a later point, I want to change the address)
> >
> > When I tried this, it gave me an ioctl error. - EADDRNOTAVAIL (I think from t
> > he file /usr/src/linux/net/ipv4/devinet.c =>devinet_ioctl() function).
> >
> > To make the above to work, is it sufficient if I make some change in this fil
> > e? Does this have any problems elsewhere?
>
> I really think it's telling you that you can't do that. I think you need a new
> plan.
$ insmod dummy0
$ ifconfig dummy0 0.0.0.0 -broadcast -arp up
$ ifconfig dummy0
dummy0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
$ ip li sh dummy0
4: dummy0: <BROADCAST,NOARP,UP> mtu 1500 qdisc noqueue
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
It works just fine... on an ethernet interface as well. (Doing this
part of the process of getting pppoe up and running...)
Cheers
Tony
_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list