Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
eth2 Link encap:Ethernet HWaddr 52:54:40:22:AC:96
UP BROADCAST RUNNING MULTICAST 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:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:12 Base address:0x240
that is what i have on my firewall
- i'm trying to set up a dmz, with 3 nics. on the firewall, eth0 is connected to my switch, eth1 is connected to the server as a primary nic, and eth2 is my test for another subnet.
- on the server, eth0 is the primary nic to the firewall, eth1 is supposed to be the test nic. on the boot when eth1 was trying to connect to the firewall, it had this eth1:9 come up.
# Setting DHCPD global parameters
DHCPARGS=eth1;
ddns-update-style ad-hoc;
allow unknown-clients; # Set parameters for the 192.168.0.0/24 subnet.
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.10 192.168.0.100;
default-lease-time 604800;
max-lease-time 604800;
option subnet-mask 255.255.255.0;
option domain-name-servers 207.107.250.140, 207.107.250.150;
option domain-name "Hades";
option routers 192.168.0.254;
option broadcast-address 192.168.0.255;
}
#
#
DHCPARGS=eth2;
ddns-update-style ad-hoc;
allow unknown-clients; # Set parameters for the 192.168.1.0/24 subnet.
subnet 192.167.1.0 netmask 255.255.255.0 {
range 192.167.1.10 192.167.1.100;
default-lease-time 604800;
max-lease-time 604800;
option subnet-mask 255.255.255.0;
option domain-name-servers 207.107.250.140, 207.107.250.150;
option domain-name "Hades";
option routers 192.167.1.254;
option broadcast-address 192.167.1.255;
}
that is the dhcpd.conf from the firewall. as you can see the ip of eth2 is totally different then what i have in there.
i know that this is quite long winded, more with files then talk. what i need to know is what this is, how to get rid of it, and how to fix it so that it doesn't come back. since i can't even ping the eth1:9 address.
i don't know if this message makes sense to anyone except me, so if you need please tell me to rephrase it for you.
thanks.
edit: am i just going about this all wrong, or should i just go out and get the "networking for morons" book?
i guess with a true dmz you want to have 3 of them, so that's what i have.
yes, i have the firewall trying to be a dhcp server, giving the numbers to the eth cards. i figure if i ever do this stuff for a job that it would be nice to know how to configure one. no, the card has never been linked to the internet or my isp. they are having to go through a switch and then my router, which is giving the dhcp. not really worried about the router, it's a cisco so it's not just a cheapy of the shelf.
as for the ifconfig eth1:9 down, yes i can do that, but i can't even ping the primary eth1, so that doesn't help that much.
thanks for the input, i'll look at getting that book. hopefully it'll tell me how to get more aliases out of each card, that would be cool .
Also notice that eth1 didn't have an IP address and eth1:9. One way to learn more, and figure out the problem, would be to read all the scripts that start and configure the network. /etc/init.d/network (or something like it) would be a good place to start. Then read the man page for all the commands it runs. Google for it. Not quite as organized as a book, but then you get to see what your machine is actually running.
i've been looking through the network scripts but i haven't found anything yet. there is more to look at so hopefully i'll find something.
the dhcpd server that i'm trying to play with as slack based, don't know if that's a difference, but i dont' have an /etc/rc.d/init.d/network. checked my mandrake and it's there, yet it doesn't say much about what it's doing at start. well, it is, but i dont' see anything about how it's configing the card if it finds a dhcpd server. i just did a quick scan of it so don't yell yet.
maybe i'll have to set up another nic on my workstation to see if it will get an address in the range that i specified. i know, i have to many of the damm things allready. dont' have any of my on boards going so that's what i'll end up using.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.