I patched my linux 1.2.13 with the IP_ALIAS patch and upgraded both netstat and
ifconfig, but when I try to "ifconfig eth0 alias <ip.address>" it returns the line
I included in the subject.
Thanks in advance for any assistance.
Jason Vagner
Thanks in advance for any assistance.
Jason Vagner
Unfortunately this didn't work either. Same error... (but thanks).Quote:> >I patched my linux 1.2.13 with the IP_ALIAS patch and upgraded both netstat and
> >ifconfig, but when I try to "ifconfig eth0 alias <ip.address>" it returns the
> >line I included in the subject.
> I could not solve it myself, and I have tried a lot of different versions of
> patches and net-tools. But...here comes the good news...if you try the > following:
> ifconfig eth0:1 <ipalias>
Is there a patch specifically for 1.2.13 available? I got one little burp in the
patching process, but it seemed to complete fine. Compilation runs well with no
big errors that I could see.
Jason Vagner
I could not solve it myself, and I have tried a lot of different versions of
patches and net-tools. But...here comes the good news...if you try the following:
ifconfig eth0:1 <ipalias>
You will have yourself an alias adress on your machine! You will have to apply the
ALIAS patch to your kernel first (but I bet you already did) and the 'right'
version of ifconfig (that's the one that should have done the alias command but
complained)
You can add multiple aliases by useing eth0:<number> (I do not know what is max.)
Good luck,
Berend W. van Bemmel
AKRIS B.V.
--
+ Berend W. van Bemmel +----( this space is not for rent! )-----+
+ www: http://www.xs4all.nl/~bemmel + home phone:(+31)(20)6257390 +
>> I could not solve it myself, and I have tried a lot of different versions of
>> patches and net-tools. But...here comes the good news...if you try the > following:
>> ifconfig eth0:1 <ipalias>
>Unfortunately this didn't work either. Same error... (but thanks).
Brain now melting...
Eric.
>>> I could not solve it myself, and I have tried a lot of different versions of
>>> patches and net-tools. But...here comes the good news...if you try the > following:
>>> ifconfig eth0:1 <ipalias>
>>Unfortunately this didn't work either. Same error... (but thanks).
>I'm in exactly the same position. I was unable to build the new,
>improved ifconfig because of some library problem, but I'm using the
>binary from the new, "alias" version. Nothing seems to work.
>Brain now melting...
>Eric.
Good luck, (maybe a more knowledgable person than me will also post ;-),
Berend W. van Bemmel
--
+ Berend W. van Bemmel +----( this space is not for rent! )-----+
+ www: http://www.xs4all.nl/~bemmel + home phone:(+31)(20)6257390 +
I *do* know that the "ifconfig eth0:1 ..." syntax is what they're
(apparently) moving toward in kernel 1.3.x. Could it be that you're
actually running 1.3? If not, perhaps you can remember one or two of
the sites from which you got net-tools; I'll go grab them and try it
as well.
Thanks. Seems like I'm almost there...Quote:>Good luck, (maybe a more knowledgable person than me will also post ;-),
Eric.
1. Local forwarding with "iptables" gives "invalid arguments"
Dear all,
while trying to set up a reverse proxy I ran into serious trouble with
iptables.
I'm trying to forward locally generated traffic to a remote machine.
But a command like
# iptables -A OUTPUT -t nat -p tcp -d 192.168.1.154 -j DNAT
--to-destination 192.168.1.250
fails with the laconic message "iptables: Invalid argument" which is
not helpful in any way.
I' running SuSE Linux Enterprise Server (last try was with their kernel
2.6.5-7.191-default)
and, YES, I have already rebuilt the kernel after setting
CONFIG_IP_NF_NAT_LOCAL=y.
Actually I built several kernel by now, the last one with all netfilter
stuff compiled in (not as modules).
However, the result stays the same whatever I try, that damn "Invalid
argument".
How can I find out what is the reason for that, how can I debug this
kind of stuff in a way that enables me to find what "argument" is
"invalid" here for what reason.
Benno
2. Print Driver for Lexmark 2030
3. Route returns "invalid argument" error
4. Distributing processes on Solaris 2.5.1
5. kernel does not find PS/2 mouse, gpm says "Invalid argument"
6. Nested directory structure problem
7. Cygwin bash "id -un" returns "Administrator" when I'm not
9. startx returns errors "Not a declared device" or "Chipset string expected"
10. GETSERVBYNAME()????????????????????"""""""""""""
11. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""
12. "ifconfig de0 media 10baseT/UTP" does NOT work
13. "ifconfig de0 media 10baseT/UTP" not working