Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
04-13-2001, 08:16 AM
|
#1
|
LQ Newbie
Registered: Mar 2001
Location: Netherlands
Posts: 19
Rep:
|
I have to resolve to an DHCP server, which is not too keen about me using linux, so I can't ask for support there.
I am registered w/a different NIC so before the dhcpcd can start resolving I have to change my MAC using ifconfig.
The only way for me to get a IP seems to be w/the command dhcpcd -B which results in immediate response, but then I get the ' eth0 UP BROADCAST NOTRAILERS ' when running ifconfig. I could not find NOTRAILERS in the man pages, much less a way to switch into Multicast mode. What am I doing wrong here?
|
|
|
04-14-2001, 06:33 PM
|
#2
|
root
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,613
|
From the BSD man page.
Quote:
trailers
Use a ``trailer'' link-level encapsulation when sending (default). If a network interface supports trailers, the system will encapsulate outgoing messages in a way that minimizes the number of memory-to-memory copy operations performed by the receiver. On networks that support the Address Resolution Protocol (see arp protocol; currently, only 10 Mb/s Ethernet), this flag indicates that the system should request that other systems use trailers when sending to this host. Similarly, trailer encapsulations will be sent to other hosts that have made such requests. Currently used by Internet protocols only.
|
|
|
|
04-15-2001, 01:09 PM
|
#3
|
LQ Newbie
Registered: Mar 2001
Location: Netherlands
Posts: 19
Original Poster
Rep:
|
thanks
Thanks a lot, So if I see this right, the NOTRAILERs is not nessecarily wrong...
Hm, cause I do get IP, Netmask, Gateway etc. identical to the settings the same box gets under win. Nevertheless I can't even ping the DNS or DHCP server...
Since I expected to have the interface show up as multicast, I thought, that was my problem. So that Notrailers isn't the problem, where else can I find some practical reading or can you tell me which other sources for error there might be?
Thanks again for going all the way to the BSD MANs, I really appreciated it.
|
|
|
04-19-2001, 08:10 AM
|
#4
|
LQ Newbie
Registered: Mar 2001
Location: Netherlands
Posts: 19
Original Poster
Rep:
|
info
Here are some of my settings:
eth0 Link encap:Ethernet HWaddr 00:00:XX:XX:XX:XX #the MAC I set
inet addr:XXX.XXX.XXX.202 Bcast:XXX.XXX.255.255 Mask:255.255.224.0
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:649 errors:0 dropped:0 overruns:0 frame:0
TX packets:22 errors:0 dropped:0 overruns:0 frame:0
collisions:0 txqueuen:100 Interrupt:5 Base address:0xe400
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 frame:0
collisions:0 txqueuen:0
And here the /etc/dhcpc/dhcpcd-eth0.info after determining the IP successfully
via: dhcpcd -d -B eth0
IPADDR=XXX.XXX.XXX.202
NETMASK=255.255.224.0
NETWORK=XXX.XXX.224.0
BROADCAST=XXX.XXX.255.255
GATEWAY=XXX.XXX.224.2
HOSTNAME=my.host.name.goes.here
DOMAIN=my.provider.here
DNS=XXX.XXX.1.1,XXX.XXX.1.5
DHCPSID=XXX.XXX.1.1
DHCPGIADDR=XXX.XXX.224.2
DHCPSIADDR=XXX.XXX.1.169
DHCPCHADDR=00:00:XX:XX:XX:XX #the MAC that I set
DHCPSHADDR=00:02:XX:XX:XX:XX #other MAC which is not from my cable modem
DHCPSNAME=rl0001.my.provider.here
LEASETIME=260000
RENEWALTIME=130000
REBINDTIME=227500
Ok the problem that I have is, I cannot even ping the DNS or DHCP server, as it seems to drop my
packets. If I ping my IP +1 so that would be ..xxx.203 I get an "destination host unreachable".
With the DNS or DHCP I don't get that message. Is it likely that linux sends out packets with the
NIC's real MAC adress somehow, although both these printouts show the MAC it is supposed to send?
What other ways are there, why my ping bounces. The machine works fine under Win with a the different MAC,
so i can eliminate any Hardware error.My Linux is RH6.2 w/2.2.17 and a rtl 8139 NIC.
Someone please?
|
|
|
All times are GMT -5. The time now is 01:33 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|