Date: Thu, 5 Jul 2001 06:28:36 -0500 From: "Lavender, Ben" <LavenderB@nctldno.navy.mil> To: "'Crist J. Clark'" <cclark@globalstar.com> Cc: "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org> Subject: RE: interface aliases and routing Message-ID: <78202F9B9BB8D311846100805F577DFF274099@nctams01.nctldno.navy.mil>
next in thread | raw e-mail | index | archive | help
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C10545.A3EB2124 Content-Type: text/plain; charset="windows-1252" > Sounds like the problem might not be at this machine, but rather at > the router. Run a, > > # tcpdump -nvv host 164.229.1.74 > > And try, > > $ telnet -s 164.229.1.74 <host on LAN> > $ ping -S 164.229.1.74 <host on LAN> > $ telnet -s 164.229.1.74 <host not on LAN> > $ ping -S 164.229.1.74 <host not on LAN> > > Then try the reverse, that is, run the commands on the other hosts > and going to 164.229.1.74. While it would appear that my Lucent L3 switch wants to know 1.74's mac address when I send it traffic from afar, it doesnt care to forward packets to it. With many thanks to you, I now take my quest elsewhere. Many thanks for the rc.conf routing info, as well! :) ben > > > Ive also got a sizeable portion of static routes to other > gateways for other > > networks (speaking of which, I cant find how one might add > a static route to > > rc.conf in /etc/defaults/rc.conf, I'm currently using a > shell script. Any > > ideas on that one?). > > man rc.conf > > Example: > > static_routes="route_1 route_2" # Use more meaningful names > route_route_1="net 10.10.0.0/16 164.229.1.125" > route_route_2="net 10.128.0.0/16 164.229.1.124" > > > > relevent rc.conf: > > network_interfaces="xl0 lo0" > > ifconfig_xl0="inet 164.229.1.72 up netmask 255.255.255.192" > > defaultrouter="164.229.1.66" > > ifconfig_xl0_alias0="inet 164.229.1.74 up netmask 255.255.255.192" > ^^^ > Still need to fix that. > -- > Crist J. Clark Network > Security Engineer > crist.clark@globalstar.com Globalstar, L.P. > (408) 933-4387 FAX: (408) 933-4926 > > The information contained in this e-mail message is confidential, > intended only for the use of the individual or entity named above. If > the reader of this e-mail is not the intended recipient, or > the employee > or agent responsible to deliver it to the intended recipient, you are > hereby notified that any review, dissemination, distribution > or copying > of this communication is strictly prohibited. If you have > received this > e-mail in error, please contact postmaster@globalstar.com > ------_=_NextPart_001_01C10545.A3EB2124 Content-Type: text/html; charset="windows-1252" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dwindows-1252"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2232.0"> <TITLE>RE: interface aliases and routing</TITLE> </HEAD> <BODY> <P><FONT SIZE=3D2>> Sounds like the problem might not be at this = machine, but rather at</FONT> <BR><FONT SIZE=3D2>> the router. Run a,</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> # tcpdump -nvv host = 164.229.1.74</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> And try,</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> $ telnet -s 164.229.1.74 <host = on LAN></FONT> <BR><FONT SIZE=3D2>> $ ping -S 164.229.1.74 <host on = LAN></FONT> <BR><FONT SIZE=3D2>> $ telnet -s 164.229.1.74 <host = not on LAN></FONT> <BR><FONT SIZE=3D2>> $ ping -S 164.229.1.74 <host not = on LAN></FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> Then try the reverse, that is, run the commands = on the other hosts</FONT> <BR><FONT SIZE=3D2>> and going to 164.229.1.74.</FONT> </P> <P><FONT SIZE=3D2>While it would appear that my Lucent L3 switch wants = to know 1.74's mac address when I send it traffic from afar, it doesnt = care to forward packets to it. With many thanks to you, I now = take my quest elsewhere.</FONT></P> <P><FONT SIZE=3D2>Many thanks for the rc.conf routing info, as well! = :)</FONT> </P> <P><FONT SIZE=3D2>ben</FONT> </P> <BR> <BR> <P><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> > Ive also got a sizeable portion of static = routes to other </FONT> <BR><FONT SIZE=3D2>> gateways for other</FONT> <BR><FONT SIZE=3D2>> > networks (speaking of which, I cant find = how one might add </FONT> <BR><FONT SIZE=3D2>> a static route to</FONT> <BR><FONT SIZE=3D2>> > rc.conf in /etc/defaults/rc.conf, I'm = currently using a </FONT> <BR><FONT SIZE=3D2>> shell script. Any</FONT> <BR><FONT SIZE=3D2>> > ideas on that one?). </FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> man rc.conf</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> Example:</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> static_routes=3D"route_1 = route_2" # Use more meaningful = names</FONT> <BR><FONT SIZE=3D2>> route_route_1=3D"net = 10.10.0.0/16 164.229.1.125"</FONT> <BR><FONT SIZE=3D2>> route_route_2=3D"net = 10.128.0.0/16 164.229.1.124"</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> > relevent rc.conf:</FONT> <BR><FONT SIZE=3D2>> > network_interfaces=3D"xl0 = lo0"</FONT> <BR><FONT SIZE=3D2>> > ifconfig_xl0=3D"inet 164.229.1.72 up = netmask 255.255.255.192"</FONT> <BR><FONT SIZE=3D2>> > = defaultrouter=3D"164.229.1.66"</FONT> <BR><FONT SIZE=3D2>> > ifconfig_xl0_alias0=3D"inet = 164.229.1.74 up netmask 255.255.255.192"</FONT> <BR><FONT = SIZE=3D2>>  = ;  = ;  = ;  = ;  = ; ^^^</FONT> <BR><FONT SIZE=3D2>> Still need to fix that.</FONT> <BR><FONT SIZE=3D2>> -- </FONT> <BR><FONT SIZE=3D2>> Crist J. = Clark &= nbsp; &= nbsp; Network </FONT> <BR><FONT SIZE=3D2>> Security Engineer</FONT> <BR><FONT SIZE=3D2>> = crist.clark@globalstar.com &nbs= p; = Globalstar, L.P.</FONT> <BR><FONT SIZE=3D2>> (408) = 933-4387 &nbs= p; &nbs= p; FAX: (408) = 933-4926</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> The information contained in this e-mail = message is confidential,</FONT> <BR><FONT SIZE=3D2>> intended only for the use of the individual or = entity named above. If</FONT> <BR><FONT SIZE=3D2>> the reader of this e-mail is not the intended = recipient, or </FONT> <BR><FONT SIZE=3D2>> the employee</FONT> <BR><FONT SIZE=3D2>> or agent responsible to deliver it to the = intended recipient, you are</FONT> <BR><FONT SIZE=3D2>> hereby notified that any review, dissemination, = distribution </FONT> <BR><FONT SIZE=3D2>> or copying</FONT> <BR><FONT SIZE=3D2>> of this communication is strictly = prohibited. If you have </FONT> <BR><FONT SIZE=3D2>> received this</FONT> <BR><FONT SIZE=3D2>> e-mail in error, please contact = postmaster@globalstar.com</FONT> <BR><FONT SIZE=3D2>> </FONT> </P> </BODY> </HTML> ------_=_NextPart_001_01C10545.A3EB2124-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?78202F9B9BB8D311846100805F577DFF274099>