Multiple IP addresses
Hi How do I assign multiple IP addresses to the same NIC in SuSe 7.3? Can I use yast? Jacob Vennervald
Yeah, I ran into the same issue and to my complete shame couldn't figure out how to do it with yast :) joe /etc/rc.config and write a few numbers starting at row 79, the comments are self-explanatory. On Wed, 8 May 2002, Jacob Vennervald Madsen wrote:
Hi
How do I assign multiple IP addresses to the same NIC in SuSe 7.3? Can I use yast?
Jacob Vennervald
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com
On Wednesday 08 May 2002 11:34, Razvan Cosma wrote:
Yeah, I ran into the same issue and to my complete shame couldn't figure out how to do it with yast :) joe /etc/rc.config and write a few numbers starting at row 79, the comments are self-explanatory.
What numbers would that be? I have the same problem with SuSE Linux 7.3. I haven't found a combination of settings in /etc/rc.config yet, that does the trick. I have 192.168.1.3 on eth0 and I want 192.168.1.4 on eth0:0. Best regards, David List
ifconfig eth0:0 192.168.1.4 netmask 255.255.255.0 broadcast 192.168.1.255 up that will get it working as for /etc/rc.config it can be done with it, you need to set IPADDR_1="192.168.1.4" and NETDEV_1="eth0:0" and IFCONFIG_1="192.168.1.4 broadcast 192.168.1.255 netmask 255.255.255.0 up" at least, i think that will work, if not, the line mentioned above will work everytime. On Wednesday 08 May 2002 10:38 am, David List wrote:
On Wednesday 08 May 2002 11:34, Razvan Cosma wrote:
Yeah, I ran into the same issue and to my complete shame couldn't figure out how to do it with yast :) joe /etc/rc.config and write a few numbers starting at row 79, the comments are self-explanatory.
What numbers would that be? I have the same problem with SuSE Linux 7.3. I haven't found a combination of settings in /etc/rc.config yet, that does the trick. I have 192.168.1.3 on eth0 and I want 192.168.1.4 on eth0:0.
Best regards, David List
-- Chad Whitten Network/Systems Administrator neXband Communications cwhitten@nexband.com
On Wednesday 08 May 2002 19:53, Chad Whitten wrote:
ifconfig eth0:0 192.168.1.4 netmask 255.255.255.0 broadcast 192.168.1.255 up
that will get it working
Yes, that's what I have to do now to get it working.
as for /etc/rc.config
it can be done with it, you need to set IPADDR_1="192.168.1.4" and NETDEV_1="eth0:0" and IFCONFIG_1="192.168.1.4 broadcast 192.168.1.255 netmask 255.255.255.0 up"
No, that doesn't work for me. I have tried every combination of entries that I would suspect *could* work, but to no avail. It seems to me ip-aliasing is not possible in SuSE Linux 7.3 through /etc/rc.config. Of course, I run SuSEconfig after changes to this file, and restart the network. Thank you for your answer. Best regards, David List
David List tapped away at the keyboard with:
On Wednesday 08 May 2002 19:53, Chad Whitten wrote:
ifconfig eth0:0 192.168.1.4 netmask 255.255.255.0 broadcast 192.168.1.255 up
that will get it working
Yes, that's what I have to do now to get it working.
as for /etc/rc.config
it can be done with it, you need to set IPADDR_1="192.168.1.4" and NETDEV_1="eth0:0" and IFCONFIG_1="192.168.1.4 broadcast 192.168.1.255 netmask 255.255.255.0 up"
No, that doesn't work for me. I have tried every combination of entries that I would suspect *could* work, but to no avail. It seems to me ip-aliasing is not possible in SuSE Linux 7.3 through /etc/rc.config. Of course, I run SuSEconfig after changes to this file, and restart the network.
Try editing NETCONFIG="_0 _1" That works for me... though I prefer to use eth0:1 as the second IP interface :-) These are automatically established when you use yast or yast2 to define the second ethernet interface. With 8.0 using a different method for configuration, using yast2 is the preferred option if you don't know exactly what you're doing. :-) -- /"\ Bernd Felsche - Innovative Reckoning, Perth, Western Australia \ / ASCII ribbon campaign | I'm a .signature virus! X against HTML mail | Copy me into your ~/.signature / \ and postings | to help me spread!
On Wed, 8 May 2002, David List wrote:
On Wednesday 08 May 2002 11:34, Razvan Cosma wrote:
Yeah, I ran into the same issue and to my complete shame couldn't figure out how to do it with yast :) joe /etc/rc.config and write a few numbers starting at row 79, the comments are self-explanatory.
What numbers would that be? I have the same problem with SuSE Linux 7.3. I haven't found a combination of settings in /etc/rc.config yet, that does the trick. I have 192.168.1.3 on eth0 and I want 192.168.1.4 on eth0:0. # # Networking # # Number of network cards: "_0" for one, "_0 _1 _2 _3" for four cards # NETCONFIG="_0 _1"
# # IP Adresses # IPADDR_0="192.168.1.3" IPADDR_1="192.168.1.4" # # Network device names (e.g. "eth0") # NETDEV_0="eth0" NETDEV_1="eth0:0" # # Parameters for ifconfig, simply enter "bootp" or "dhcpclient" to use the # respective service for configuration. # Sample entry for ethernet: # IFCONFIG_0="192.168.81.38 broadcast 192.168.81.63 netmask 255.255.255.224" # IFCONFIG_0="192.168.1.3 broadcast 192.168.1.255 netmask 255.255.255.0" IFCONFIG_1="192.168.1.4 broadcast 192.168.1.255 netmask 255.255.255.0"
participants (5)
-
Bernd Felsche
-
Chad Whitten
-
David List
-
Jacob Vennervald Madsen
-
Razvan Cosma