Date: Fri, 19 Dec 2003 18:55:22 -0600 From: "Phillips, Paul" <paulp@mail.smu.edu> To: "Will Andrews" <will@csociety.org> Cc: freebsd-sparc64@freebsd.org Subject: RE: Netra T1 105 and two ethernet ports Message-ID: <F5C1DDA36ABD5049B458492E5FA2A26C7A056C@s31xe3.systems.smu.edu>
next in thread | raw e-mail | index | archive | help
I tried: ifconfig hme1 ether 0a:00:20:c2:1c:c2 inet 192.168.1.95 netmask 255.255.255.0 broadcast 192.168.1.255 up doing it all in one statement as Will suggested, and got back: ifconfig: can't set link-level netmask or broadcast Hmm, Paul -----Original Message----- > > I want to have each ethernet port with its own IP address, but both addresses will be on the same subnet. > > I can't make it work, so I have been reading various archives, trying to figure out what was going on. > > After noticing that both ports had the same MAC address, and doing some archive reading, I found that I can easily change the second port to another Mac address by doing this: > > ifconfig hme1 ether aa:1:2:3:4:6 > > I can confirm that this change in MAC address has taken place by ifconfig with no arguments. > > However, when I next type: > ifconfig hme1 inet 192.168.0.100 netmask 255.255.255.0 up > > then I get this message: > ifconfig: ioctl (SIOCAIFADDR): File exists > > I don't know what this means, or how to change it. Yes, you have to change the MAC in the same statement. regards, -- wca
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F5C1DDA36ABD5049B458492E5FA2A26C7A056C>
