Re: ifconfig -- how to remove address and mask?
On Sun, 2007-10-28 at 21:14 -0700, [EMAIL PROTECTED] wrote: running 6.1, Is there a way to bring an interface down and remove the ipaddr and mask? I've tried ifconfig destroy with no effect, and I'm getting tired of twiddling rc.conf and rebooting... The problem arises when testing a new configuration where an existing interface has an assigned ip addr, and is then changed to be used with pppoe. The routine tables get really confused... Thanks, Gary Try ifconfig interface delete. HTH, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ifconfig -- how to remove address and mask?
I tried delete, but it only works for *additional* ip addresses added using the alias command, not the original, primary one. I can't remember the error message. Yuri Pankov wrote: On Sun, 2007-10-28 at 21:14 -0700, [EMAIL PROTECTED] wrote: running 6.1, Is there a way to bring an interface down and remove the ipaddr and mask? I've tried ifconfig destroy with no effect, and I'm getting tired of twiddling rc.conf and rebooting... The problem arises when testing a new configuration where an existing interface has an assigned ip addr, and is then changed to be used with pppoe. The routine tables get really confused... ... Try ifconfig interface delete. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ifconfig -- how to remove address and mask?
On Sun, Oct 28, 2007 at 09:14:48PM -0700, [EMAIL PROTECTED] wrote: running 6.1, Is there a way to bring an interface down and remove the ipaddr and mask? I've tried ifconfig destroy with no effect, and I'm getting tired of twiddling rc.conf and rebooting... Have you tried `ifconfig fxp0 -alias 192.168.1.10'? -- Chris Cowart Lead Systems Administrator Network Infrastructure Services, RSSP-IT UC Berkeley pgp1s3uwpi4uA.pgp Description: PGP signature
Re: ifconfig -- how to remove address and mask?
I stand corrected. ifconfig interface delete did the job; destroy is what failed. Thanks. I tried delete, but it only works for *additional* ip addresses added using the alias command, not the original, primary one. I can't remember the error message. Yuri Pankov wrote: On Sun, 2007-10-28 at 21:14 -0700, [EMAIL PROTECTED] wrote: running 6.1, Is there a way to bring an interface down and remove the ipaddr and mask? I've tried ifconfig destroy with no effect, and I'm getting tired of twiddling rc.conf and rebooting... The problem arises when testing a new configuration where an existing interface has an assigned ip addr, and is then changed to be used with pppoe. The routine tables get really confused... ... Try ifconfig interface delete. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ifconfig -- how to remove address and mask?
On 29.10.2007, at 7:14, [EMAIL PROTECTED] wrote: running 6.1, Is there a way to bring an interface down and remove the ipaddr and mask? I've tried ifconfig destroy with no effect, and I'm getting tired of twiddling rc.conf and rebooting... The problem arises when testing a new configuration where an existing interface has an assigned ip addr, and is then changed to be used with pppoe. The routine tables get really confused... You can use something like that: ifconfig fxp0 inet 10.10.10.1/24 -alias It will remove address 10.10.10.1/24 from interface fxp0. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ifconfig -- how to remove address and mask?
[EMAIL PROTECTED] wrote: I tried delete, but it only works for *additional* ip addresses added using the alias command, not the original, primary one. I can't remember the error message. Are you specifying the primary IP as an argument to delete? It works here for me with a primary IP ok: # ifconfig fxp1 delete 192.168.0.3 Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ifconfig -- how to remove address and mask?
On Sun, Oct 28, 2007 at 09:14:48PM -0700, [EMAIL PROTECTED] wrote: running 6.1, Is there a way to bring an interface down and remove the ipaddr and mask? I've tried ifconfig destroy with no effect, and I'm getting tired of twiddling rc.conf and rebooting... The problem arises when testing a new configuration where an existing interface has an assigned ip addr, and is then changed to be used with pppoe. The routine tables get really confused... Thanks, Gary Might /etc/rc.d/netif restart resolve this, too? Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ifconfig -- how to remove address and mask?
running 6.1, Is there a way to bring an interface down and remove the ipaddr and mask? I've tried ifconfig destroy with no effect, and I'm getting tired of twiddling rc.conf and rebooting... The problem arises when testing a new configuration where an existing interface has an assigned ip addr, and is then changed to be used with pppoe. The routine tables get really confused... Thanks, Gary ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]