looking for command to display default route ip address

2013-05-29 Thread Joe
Hello list How do I find the ip address of the default route? thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: looking for command to display default route ip address

2013-05-29 Thread Lowell Gilbert
Joe fb...@a1poweruser.com writes: Hello list How do I find the ip address of the default route? The next-hop address, or the local address? The former can be easily parsed out of the netstat(1) output, the latter isn't necessarily unique

Re: looking for command to display default route ip address

2013-05-29 Thread Rick Miller
On Wed, May 29, 2013 at 2:03 PM, Joe fb...@a1poweruser.com wrote: Hello list How do I find the ip address of the default route? The following examples return the next hop, usually a router. # grep defaultrouter /etc/rc.conf defaultrouter=192.168.0.1 or # netstat -r Routing tables Internet

Re: looking for command to display default route ip address

2013-05-29 Thread markham breitbach
route -n get default On 13-05-29 12:03 PM, Joe wrote: Hello list How do I find the ip address of the default route? thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions

RE: route problem

2013-05-21 Thread Ivailo Tanusheff
, as you do not use NAT, then the devices in the 192.168.1.0/24 should know where to find your server. The basic ideas are: 1. Make 192.168.1.250 default gateway for the devices in 192.168.1.0/24 or 2. route add -net 192.168.2 gw 192.168.1.250 (syntax depends on the OS) Also check if the device

route problem

2013-05-20 Thread Pol Hallen
Hi folks! On my lan I've: server1 re0 - 192.168.1.250 xl0 - 192.168.2.250 default192.168.1.212 UGS 0 189re0 127.0.0.1 link#8 UH 0 18lo0 192.168.1.0/24 link#1 U 0 6145re0 192.168.1.250

Re: route problem

2013-05-20 Thread Andre Goree
UHS 00lo0 I can ping 192.168.2.0/24 and ONLY 192.168.1.250. I need ping 192.168.1.0/24 lan but I can only see 192.168.1.250 any idea? thanks! Pol I'm pretty sure you need a route on server2 to 192.168.1.0/24. Try: route add 192.168.1.0/24 192.168.2.250 -- Andre

Re: route problem

2013-05-20 Thread Pol Hallen
Try: route add 192.168.1.0/24 192.168.2.250 does not run :-( Pol ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: route problem

2013-05-20 Thread Andre Goree
On 2013-05-20 4:19 pm, Pol Hallen wrote: Try: route add 192.168.1.0/24 192.168.2.250 does not run :-( Pol Interesting. I had a similar issue I got around with a similar route addition, though I was going from a LAN PC through my server that was running openvpn out to a remotely connected

Re: route problem

2013-05-20 Thread Pol Hallen
If you don't mind could you post the output of ifconfig from both boxes? server1: re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE ether 70:71:bc:94:c3:6d inet

Re: route problem

2013-05-20 Thread Andre Goree
On 2013-05-20 5:01 pm, Pol Hallen wrote: If you don't mind could you post the output of ifconfig from both boxes? server1: re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE

route BGP

2013-03-21 Thread just man man
dear firiend, do you have configuration routing BGP in freebsd ? thank you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

Re: route BGP

2013-03-21 Thread Daniel O'Callaghan
Hi, On 22/03/2013 12:28 PM, just man man wrote: do you have configuration routing BGP in freebsd ? thank you I use quagga, because that's what I have been using for the last 10 years. http://www.freshports.org/net/quagga-re/ http://www.freshports.org/net/quagga/ You might also like to try

Re[2]: route BGP

2013-03-21 Thread Vladislav Prodan
Hi, On 22/03/2013 12:28 PM, just man man wrote: do you have configuration routing BGP in freebsd ? thank you I use quagga, because that's what I have been using for the last 10 years. http://www.freshports.org/net/quagga-re/ http://www.freshports.org/net/quagga/ You might also

Why ue0 do ARP on non local address when using static route?

2013-02-13 Thread Jin Guojun
(10.227.148.0/24) via eu0 interface. When a remote host ping this host or this host ping that remote host, ARP request is always showing up. A static route is set and remote host is no part of the local sub net, why ARP is going on? Is any sysctl parameter can fix this problem? -Jin Internet

Re: Why ue0 do ARP on non local address when using static route?

2013-02-13 Thread Chuck Swiger
a remote host ping this host or this host ping that remote host, ARP request is always showing up. A static route is set and remote host is no part of the local sub net, why ARP is going on? You've told the interface that it can reach 10.227.148.52 via 10.234.37.80, which is the IP ue0

Re: Why ue0 do ARP on non local address when using static route?

2013-02-13 Thread Jin Guojun
/etc/ethers does not help because there is no way resolve the IP by QFHN in ethers. The correct way is to use router IP (10.234.37.1) between 10.234.37.0 and 10.227.148.0 instead of interface IP (10.234.37.80) for static route. From: Chuck Swiger cswi

Re: Why ue0 do ARP on non local address when using static route?

2013-02-13 Thread Lowell Gilbert
), but it has problem to talk to a remote network or host (10.227.148.0/24) via eu0 interface. When a remote host ping this host or this host ping that remote host, ARP request is always showing up. A static route is set and remote host is no part of the local sub net, why ARP is going on? Is any

Re: Why ue0 do ARP on non local address when using static route?

2013-02-13 Thread Chuck Swiger
way is to use router IP (10.234.37.1) between 10.234.37.0 and 10.227.148.0 instead of interface IP (10.234.37.80) for static route. Assuming there's a router at 10.234.37.1 which knows how to get to 10.227.148.52, yes. Regards, -- -Chuck ___ freebsd

Re: Why ue0 do ARP on non local address when using static route?

2013-02-13 Thread Jin Guojun
To: Jin Guojun jguo...@sbcglobal.net Cc: questions freebsd questi...@freebsd.org Sent: Wed, February 13, 2013 2:33:57 PM Subject: Re: Why ue0 do ARP on non local address when using static route? On Feb 13, 2013, at 2:17 PM, Jin Guojun wrote: /etc/ethers does not help because there is no way resolve

Re: Why ue0 do ARP on non local address when using static route?

2013-02-13 Thread Lowell Gilbert
showed an overriding route for the gateway address. Are you sure that the ARP is happening on the interface for the gateway's network? According to the routing table you posted, it should be hitting the loopback interface, but not leaving the box

route issue

2012-12-25 Thread Yavuz Maşlak
Hello On freebsd8.2 when i run netstat -rn i see below; # netstat -rn | grep -r 127.0.0.1 127.0.0.1 127.0.0.1 UHS 0 1462933lo0 As flag i think that it should be UH but on my server as above; How can i fix it ?

Re: route issue

2012-12-25 Thread Michael Powell
Yavuz Ma?lak wrote: Hello On freebsd8.2 when i run netstat -rn i see below; # netstat -rn | grep -r 127.0.0.1 127.0.0.1 127.0.0.1 UHS 0 1462933lo0 As flag i think that it should be UH but on my server as above; How can i fix it ? Please show

Unecpected change default route in 9.0, 8.2

2012-12-17 Thread Radek Krejča
Hi, I have diskless routers, on one of theese I have problem, that default gate is changing. Image is clean and updated. There is no route daemon, no snmp, dhclient isnt running. Whith resarch in cooperation in chzech bsd mailing list I get following things: Ifconfig of this machine

Re: problems with networking and route command

2012-05-20 Thread Ian Smith
. I don't know a whole lot about route - I have been attempting a variation of route commands without success. [Chuck Swiger wrote:] You need to implement NAT on this box, since 192.168.0.0/16 is an RFC-1918 unrouteable private network range. I previously connected to the internet

Re: problems with networking and route command

2012-05-19 Thread Derek Ragona
At 07:07 AM 5/18/2012, David Banning wrote: It is machines that connect and receive via DHCP 192.168.1.2 and above that can't connect to the internet though the server. I don't know a whole lot about route - I have been attempting a variation of route commands without success. You

Re: problems with networking and route command

2012-05-18 Thread David Banning
It is machines that connect and receive via DHCP 192.168.1.2 and above that can't connect to the internet though the server. I don't know a whole lot about route - I have been attempting a variation of route commands without success. You need to implement NAT on this box, since

problems with networking and route command

2012-05-16 Thread David Banning
and receive via DHCP 192.168.1.2 and above that can't connect to the internet though the server. I don't know a whole lot about route - I have been attempting a variation of route commands without success. If anyone by looking at my information can suggest a route command, or suggest a way to dig

Re: problems with networking and route command

2012-05-16 Thread Chuck Swiger
Hi-- On May 16, 2012, at 1:08 PM, David Banning wrote: [ ... ] It is machines that connect and receive via DHCP 192.168.1.2 and above that can't connect to the internet though the server. I don't know a whole lot about route - I have been attempting a variation of route commands without

Adding a Static Route to rc.conf?

2012-05-03 Thread Chris Maness
On Tue, May 1, 2012 at 8:31 AM, Chris Maness chris at chrismaness.com wrote: How do add a static route to rc.conf? Thanks, Chris Maness http://www.freebsd.org/doc/handbook/network-routing.html see section 32.2.5.2 Persistent Configuration -- Noel Jones I added: # Add Internal Net 2

Re: Adding a Static Route to rc.conf?

2012-05-03 Thread Noel
On 5/3/2012 11:45 AM, Chris Maness wrote: On Tue, May 1, 2012 at 8:31 AM, Chris Maness chris at chrismaness.com wrote: How do add a static route to rc.conf? Thanks, Chris Maness http://www.freebsd.org/doc/handbook/network-routing.html see section 32.2.5.2 Persistent Configuration

Re: Adding a Static Route to rc.conf?

2012-05-03 Thread Chris Maness
# Add Internal Net 2 as a static route static_routes=internalnet2 route_internalnet2=-net 44.18.44.0/24 192.168.1.33 to rc.conf per the section above.  I rebooted and it was a no go.  Did I miss something? Looks OK, and works for me.  Wild guess is you need to enable netwait in rc.conf

Re: Adding a Static Route to rc.conf?

2012-05-03 Thread Noel
: How do add a static route to rc.conf? Thanks, Chris Maness http://www.freebsd.org/doc/handbook/network-routing.html see section 32.2.5.2 Persistent Configuration -- Noel Jones I added: # Add Internal Net 2 as a static

Re: Adding a Static Route to rc.conf?

2012-05-03 Thread Michael Sierchio
On Thu, May 3, 2012 at 11:17 AM, Noel noeld...@gmail.com wrote: Indeed, I should have mentioned that if you have freebsd-8x or earlier, this feature isn't built-in but can be easily added:

Re: Adding a Static Route to rc.conf?

2012-05-03 Thread Noel
On 5/3/2012 1:54 PM, Michael Sierchio wrote: On Thu, May 3, 2012 at 11:17 AM, Noel noeld...@gmail.com mailto:noeld...@gmail.com wrote: Indeed, I should have mentioned that if you have freebsd-8x or earlier, this feature isn't built-in but can be easily added:

Re: Adding a Static Route to rc.conf?

2012-05-02 Thread Chris Maness
On Tue, May 1, 2012 at 8:31 AM, Chris Maness ch...@chrismaness.com wrote: How do add a static route to rc.conf? Thanks, Chris Maness http://www.freebsd.org/doc/handbook/network-routing.html see section 32.2.5.2 Persistent Configuration -- Noel Jones Thanks, Noel Chris

Adding a Static Route to rc.conf?

2012-05-01 Thread Chris Maness
How do add a static route to rc.conf? Thanks, Chris Maness ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: Adding a Static Route to rc.conf?

2012-05-01 Thread Noel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 5/1/2012 10:31 AM, Chris Maness wrote: How do add a static route to rc.conf? Thanks, Chris Maness ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

VLANs, default route not working on boot

2012-04-20 Thread Chad M Stewart
I can't figure out why on boot the default route is not being setup correctly. I'm coming back to FreeBSD, having spent many years using OpenBSD primarily. The server has 2 NICs, of which em0 is the one being used. I did see something during boot about not adding the default route

Re: VLANs, default route not working on boot

2012-04-20 Thread Mark Felder
On Fri, 20 Apr 2012 14:54:46 -0500, Chad M Stewart c...@balius.com wrote: Anyone have some suggestions how I can fix this? I'm guessing having the default route on a tagged vlan was not tested and the default route is attempted before the vlan interface is all the way up. After

Re: VLANs, default route not working on boot

2012-04-20 Thread Chad M Stewart
On Apr 20, 2012, at 3:00 PM, Mark Felder wrote: On Fri, 20 Apr 2012 14:54:46 -0500, Chad M Stewart c...@balius.com wrote: Anyone have some suggestions how I can fix this? I'm guessing having the default route on a tagged vlan was not tested and the default route is attempted before

Re: VLANs, default route not working on boot

2012-04-20 Thread Mark Felder
Those errors are usually from it trying to create interfaces that already exist. It looks like it created your default route, though. Time to file a PR because the network boot stuff is not doing the order right. ___ freebsd-questions@freebsd.org

Re: VLANs, default route not working on boot

2012-04-20 Thread Nikos Vassiliadis
On 4/20/2012 9:54 PM, Chad M Stewart wrote: cloned_interfaces=vlan4 vlan7 ifconfig_vlan4=inet 192.168.4.21 netmask 255.255.255.0 vlan 4 vlandev em0 ifconfig_vlan7=inet 192.168.7.21 netmask 255.255.255.0 vlan 7 vlandev em0 ifconfig_vlan7=alias 192.168.7.31 netmask 255.255.255.255

Re: VLANs, default route not working on boot

2012-04-20 Thread Chad M Stewart
On Apr 20, 2012, at 5:12 PM, Nikos Vassiliadis wrote: This is not the correct syntax. From the rc.conf manual page: Thanks Nikos. Not sure how I came up with the incorrect syntax, but correcting that fixed my issue. -Chad___

IPv6 default-route - gone

2012-04-03 Thread Ewald Jenisch
address correctly shows up under ifconfig however the default route doesn't seem to be installed, so I'm basically cut off the Internet in terms of IPv6. Please note that the above config has worked unser FreeBSD8 - in fact I've got a couple of boxes under FreeBSD8 with this exact same config. Has

Re: IPv6 default-route - gone

2012-04-03 Thread John
ipv6_defaultrouter=2001:76c:2218:2009::1 The interface address correctly shows up under ifconfig however the default route doesn't seem to be installed, so I'm basically cut off the Internet in terms of IPv6. Please note that the above config has worked unser FreeBSD8 - in fact I've got a couple

Re: deleting an alias from interface cause the static route to be deleted

2012-02-23 Thread Gleb Smirnoff
: re0 К К ifconfig vlan74 delete 10.1.26.1 К К will delete these static routes from route table: К К 10.3.0.1           10.1.26.2          UGHS        8      367 vlan74 К 10.1.6.0/23        10.1.26.2          UGS       275   166969 vlan74 К К Does this a bug? It is. The problem

Re: deleting an alias from interface cause the static route to be deleted

2012-02-21 Thread Damien Fleuriot
ifconfig vlan74 delete 10.1.26.1 will delete these static routes from route table: 10.3.0.1 10.7.26.2 UGHS8 367 vlan74 10.1.6.0/2310.7.26.2 UGS 275 166969 vlan74 Does this a bug? I don't know if it's a bug or intended, but I do know

Re: deleting an alias from interface cause the static route to be deleted

2012-02-21 Thread Matthew Seaman
On 21/02/2012 08:14, Damien Fleuriot wrote: I don't know if it's a bug or intended, but I do know you should use /32 aliases for additional IPs, not your original netmask. Actually, it's optional nowadays. Either way works. Cheers, Matthew -- Dr Matthew J Seaman MA,

Re: deleting an alias from interface cause the static route to be deleted

2012-02-21 Thread Damien Fleuriot
On 2/21/12 9:34 AM, Matthew Seaman wrote: On 21/02/2012 08:14, Damien Fleuriot wrote: I don't know if it's a bug or intended, but I do know you should use /32 aliases for additional IPs, not your original netmask. Actually, it's optional nowadays. Either way works. Well idk, seeing

Re: deleting an alias from interface cause the static route to be deleted

2012-02-21 Thread Matthew Seaman
10.1.26.1 will delete these static routes from route table: 10.3.0.1 10.7.26.2 UGHS8 367 vlan74 10.1.6.0/2310.7.26.2 UGS 275 166969 vlan74 Does this a bug? Hmmm... how have you managed to have a next hop address of 10.7.26.2

Re: deleting an alias from interface cause the static route to be deleted

2012-02-21 Thread Adam Vande More
10.1.26.1 will delete these static routes from route table: 10.3.0.1 10.7.26.2 UGHS8 367 vlan74 10.1.6.0/2310.7.26.2 UGS 275 166969 vlan74 Does this a bug? http://www.freebsd.org/cgi/query-pr.cgi?pr=128954cat=bin -- Adam Vande More

Re[2]: deleting an alias from interface cause the static route to be deleted

2012-02-21 Thread Коньков Евгений
: active vlan: 74 parent interface: re0 ifconfig vlan74 delete 10.1.26.1 will delete these static routes from route table: 10.3.0.1 10.7.26.2 UGHS8 367 vlan74 10.1.6.0/2310.7.26.2 UGS 275 166969 vlan74 10.3.0.1 10.1.26.2

Re[2]: deleting an alias from interface cause the static route to be deleted

2012-02-21 Thread Коньков Евгений
       vlan: 74 parent interface: re0 ifconfig vlan74 delete 10.1.26.1 will delete these static routes from route table: 10.3.0.1           10.1.26.2          UGHS        8      367 vlan74 10.1.6.0/23        10.1.26.2          UGS       275   166969 vlan74 Does this a bug? II See here: II http

deleting an alias from interface cause the static route to be deleted

2012-02-20 Thread Коньков Евгений
netmask 0xfe00 broadcast 10.1.27.255 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL media: Ethernet autoselect (1000baseT full-duplex) status: active vlan: 74 parent interface: re0 ifconfig vlan74 delete 10.1.26.1 will delete these static routes from route

Re: nfs error: No route to host when starting apache ...

2011-04-03 Thread Rick Macklem
On Fri, 1 Apr 2011, Rick Macklem wrote: Since rpc.lockd and rpc.statd expect to be able to do IP broadcast (same goes for rpcbind), I suspect that might be a problem w.r.t. jails, although I know nothing about how jails work? Oh, and you can use the nolock mount option to avoid use of

Re: nfs error: No route to host when starting apache ...

2011-04-02 Thread Marc G. Fournier
On Fri, 1 Apr 2011, Rick Macklem wrote: Since rpc.lockd and rpc.statd expect to be able to do IP broadcast (same goes for rpcbind), I suspect that might be a problem w.r.t. jails, although I know nothing about how jails work? Oh, and you can use the nolock mount option to avoid use of

nfs error: No route to host when starting apache ...

2011-04-01 Thread Marc G. Fournier
, I get: [Fri Apr 01 19:42:02 2011] [emerg] (65)No route to host: couldn't grab the accept mutex When I try and do a 'newaliases', I get: # newaliases postalias: fatal: lock /etc/aliases.db: No route to host Yet, for instance, both MySQL and PostgreSQL are running without any issues ... So

Re: nfs error: No route to host when starting apache ...

2011-04-01 Thread Marc G. Fournier
... ServerA, nfsd on 192.168.1.8 ServerB, nfs client on 192.168.1.7 I have a jail, ServerC, running on 192.168.1.7 ... most operations appear to work, but it looks like 'special files' of a sort aren't working, for when I try and startup Apache, I get: [Fri Apr 01 19:42:02 2011] [emerg] (65)No route

Re: nfs error: No route to host when starting apache ...

2011-04-01 Thread Rick Macklem
Apache, I get: [Fri Apr 01 19:42:02 2011] [emerg] (65)No route to host: couldn't grab the accept mutex When I try and do a 'newaliases', I get: # newaliases postalias: fatal: lock /etc/aliases.db: No route to host Yet, for instance, both MySQL and PostgreSQL are running without any

Re: nfs error: No route to host when starting apache ...

2011-04-01 Thread Rick Macklem
and startup Apache, I get: [Fri Apr 01 19:42:02 2011] [emerg] (65)No route to host: couldn't grab the accept mutex When I try and do a 'newaliases', I get: # newaliases postalias: fatal: lock /etc/aliases.db: No route to host Yet, for instance, both MySQL and PostgreSQL are running

Setting up a a route in FreeBSD with NAT issues

2011-03-11 Thread Kaya Saman
Hi all, I'm trying to setup a gateway between an internal network using Vbox test machines of which one is a FreeBSD router/gateway. Being familiar with Cisco I know how easy this is to do but I think that I'm struggling a bit with the syntax. My setup is as so: Damn Small Linux (virtual

Setting up a a route in FreeBSD with NAT issues

2011-03-11 Thread Kaya Saman
Ok I've managed to make some headway however it still isn't working properly: /etc/ipnat.rules #map em1 10.100.100.0/26 - 0.0.0.0/32 portmap tcp/udp 1:65000 map em1 10.100.100.0/26 - 0.0.0.0/32 map em1 10.100.100.0/26 - 0.0.0.0/32 auto I then added this addition to the end of the

Re: Setting up a a route in FreeBSD with NAT issues

2011-03-11 Thread Kaya Saman
interface within the NAT map file then direct the internal network via the 'gateway of last resort' - default route. The config can be easily adapted and modified from here if anyone is interested in doing something similar or adding extra networks in the middle such as a firewall or proxy

Re: default route desappear.

2011-02-03 Thread Lisandro Grullon
: Dear list, I have been doing some remote work using ssh and BPF. From time to time I feel like restarting /etc/rc.d/netif using a static configuration and noticed that my default route gets delete even when I have everything se as static under /etc/rc.conf. The only way I can get my default route

default route desappear.

2011-02-02 Thread Lisandro Grullon
Dear list, I have been doing some remote work using ssh and BPF. From time to time I feel like restarting /etc/rc.d/netif using a static configuration and noticed that my default route gets delete even when I have everything se as static under /etc/rc.conf. The only way I can get my default route

Re: default route desappear.

2011-02-02 Thread Paul Macdonald
On 02/02/2011 15:44, Lisandro Grullon wrote: Dear list, I have been doing some remote work using ssh and BPF. From time to time I feel like restarting /etc/rc.d/netif using a static configuration and noticed that my default route gets delete even when I have everything se as static under /etc

Re: dhcpd doesn't sent route information

2010-04-24 Thread Beat Siegenthaler
On 23.04.10 18:02, Onur Aslan wrote: $ cat /usr/local/etc/dhcpd.conf option domain-name-servers 8.8.8.8, 8.8.8.4; 8.8.8.4 is not a valid Nameserver. You want 8.8.4.4... ___ freebsd-questions@freebsd.org mailing list

Re: dhcpd doesn't sent route information

2010-04-24 Thread Peter Boosten
On 23-4-2010 17:22, Chuck Swiger wrote: On Apr 23, 2010, at 6:14 AM, Onur Aslan wrote: I am using isc-dhcp30-server-3.0.7_5 in FreeBSD 7.2. When I run dhclient in a client machine, this machine doesn't get gateway from dhcp server. I configured dhcpd server as described in FreeBSD handbook.

Re: dhcpd doesn't sent route information

2010-04-24 Thread Erik Norgaard
On 23/04/10 15:14, Onur Aslan wrote: Do you have any idea? Still haven't solved the problem? I just looked over your dhclient.conf: #prepend domain-name-servers 127.0.0.1; prepend domain-name-servers 8.8.8.8, 8.8.8.4; #request subnet-mask, broadcast-address, time-offset, routers, #

dhcpd doesn't sent route information

2010-04-24 Thread Onur Aslan
, rfc3442-classless-static-routes, ntp-servers; It's working fine. But it was getting route ip from other networks before doing that. I guess it's not a problem after all. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: dhcpd doesn't sent route information

2010-04-24 Thread Peter Boosten
option domain-name-servers ns1.example.com; option domain-name example.com; A fqdn for a name server? That'll give you a chicken and egg problem, don't you think? Peter -- http://www.boosten.org ___ freebsd-questions@freebsd.org mailing

Re: dhcpd doesn't sent route information

2010-04-24 Thread Erik Norgaard
On 24/04/10 17:41, Peter Boosten wrote: option domain-name-servers ns1.example.com; option domain-name example.com; A fqdn for a name server? That'll give you a chicken and egg problem, don't you think? No, the dhcpd server resolves the address and sends the ip to the clients.

Re: dhcpd doesn't sent route information

2010-04-24 Thread Peter Boosten
On 24 apr 2010, at 23:07, Erik Norgaard wrote: On 24/04/10 17:41, Peter Boosten wrote: option domain-name-servers ns1.example.com; option domain-name example.com; A fqdn for a name server? That'll give you a chicken and egg problem, don't you think? No, the dhcpd server

dhcpd doesn't sent route information

2010-04-23 Thread Onur Aslan
Hi. I am using isc-dhcp30-server-3.0.7_5 in FreeBSD 7.2. When I run dhclient in a client machine, this machine doesn't get gateway from dhcp server. I configured dhcpd server as described in FreeBSD handbook. My dhcpd.conf file: option domain-name-servers 8.8.8.8, 8.8.8.4; option subnet-mask

Re: dhcpd doesn't sent route information

2010-04-23 Thread Chuck Swiger
On Apr 23, 2010, at 6:14 AM, Onur Aslan wrote: I am using isc-dhcp30-server-3.0.7_5 in FreeBSD 7.2. When I run dhclient in a client machine, this machine doesn't get gateway from dhcp server. I configured dhcpd server as described in FreeBSD handbook. If the machine you are testing from is

Re: dhcpd doesn't sent route information

2010-04-23 Thread Onur Aslan
I tried, but It doesn't helped. On Fri, Apr 23, 2010 at 08:22:54AM -0700, Chuck Swiger wrote: On Apr 23, 2010, at 6:14 AM, Onur Aslan wrote: I am using isc-dhcp30-server-3.0.7_5 in FreeBSD 7.2. When I run dhclient in a client machine, this machine doesn't get gateway from dhcp server. I

Re: dhcpd doesn't sent route information

2010-04-23 Thread Kevin Kinsey
Onur Aslan wrote: I tried, but It doesn't helped. Please show us the revised dhcpd.conf. Also, did you -HUP your named? Kevin Kinsey A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying

[Fwd: Re: dhcpd doesn't sent route information]

2010-04-23 Thread Kevin Kinsey
Onur Aslan wrote: I tried, but It doesn't helped. Please show us the revised dhcpd.conf. Also, did you -HUP your named? Sorry! That should be dhcpd. $kill -HUP `pgrep dhcpd` should do the trick. KDK ___ freebsd-questions@freebsd.org mailing

Re: dhcpd doesn't sent route information

2010-04-23 Thread Onur Aslan
$ cat /usr/local/etc/dhcpd.conf option domain-name-servers 8.8.8.8, 8.8.8.4; option subnet-mask 255.255.255.0; default-lease-time 3600; max-lease-time 86400; ddns-update-style none; option routers 192.168.1.1; subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.4 192.168.1.24; }

Re: dhcpd doesn't sent route information

2010-04-23 Thread Chuck Swiger
Hi-- On Apr 23, 2010, at 9:02 AM, Onur Aslan wrote: After I added dhcpd_flags=-HUP to my rc.conf It's giving an error message when I starting dhcpd: Remove that; I believe what Kevin meant was to do this: kill -HUP `cat /var/run/dhcpd.pid` ...to restart dhcpd. Running dhcpd -t will let

Re: dhcpd doesn't sent route information

2010-04-23 Thread Kevin Kinsey
Onur Aslan wrote: $ cat /usr/local/etc/dhcpd.conf option domain-name-servers 8.8.8.8, 8.8.8.4; option subnet-mask 255.255.255.0; default-lease-time 3600; max-lease-time 86400; ddns-update-style none; option routers 192.168.1.1; subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.4

what means: route: writing to routing socket: No such process ?

2010-04-02 Thread Matthias Apitz
Hello, It seems that deleting a route which does not exist gives some message about writing to routing socket: No such process: # route delete xxx.xxx.xxx.xxx/27 delete net xxx.xxx.xxx.xxx # route delete xxx.xxx.xxx.xxx/27 route: writing to routing socket: No such process delete net

IPv6: rtsol must be run a second time after boot to pick up default route

2010-02-03 Thread Brian Conway
on boot and set its IP accordingly (local network functions), but will NOT set the default route unless I wait up to 10 minutes for the advertisement, or manually run rtsol. The same problem happens with OS X 10.6.2, but not with Win7 (and Linux 2.6 remains untested at this time). The host has

Re: IPv6: rtsol must be run a second time after boot to pick up default route

2010-02-03 Thread Brian Conway
that the host will only pick up the IPv6 prefix on boot and set its IP accordingly (local network functions), but will NOT set the default route unless I wait up to 10 minutes for the advertisement, or manually run rtsol. The same problem happens with OS X 10.6.2, but not with Win7 (and Linux 2.6 remains

ipv6 static route.

2010-01-25 Thread Peter Ankerstål
How do I set a static ipv6 route in rc.conf? This command works: route add -inet6 -net 2003:16c8:dc1e:2:: -prefixlen 64 2003:16c8:dc1e::2 and I use this in rc.conf: ipv6_static_routes=2003:16c8:dc1e:2:: -prefixlen 64 2003:16c8:dc1e::2 but it does not set the correct routes. -- Peter Ankerstål

Re: ipv6 static route.

2010-01-25 Thread Brian A. Seklecki (CFI NOC)
On 1/25/2010 12:15 PM, Peter Ankerstål wrote: How do I set a static ipv6 route in rc.conf? This command works: route add -inet6 -net 2003:16c8:dc1e:2:: -prefixlen 64 2003:16c8:dc1e::2 and I use this in rc.conf: ipv6_static_routes=2003:16c8:dc1e:2:: -prefixlen 64 2003:16c8:dc1e::2 Do

Re: ipv6 static route.

2010-01-25 Thread Peter Ankerstål
On Jan 25, 2010, at 6:59 PM, Brian A. Seklecki (CFI NOC) wrote: On 1/25/2010 12:15 PM, Peter Ankerstål wrote: How do I set a static ipv6 route in rc.conf? This command works: route add -inet6 -net 2003:16c8:dc1e:2:: -prefixlen 64 2003:16c8:dc1e::2 and I use this in rc.conf

Re: Specific interface to default route

2009-11-25 Thread Brian A. Seklecki (CFI NOC)
Anthony M. Rasat wrote: Dear all, I have two (ethernet) network interface with IP address within the same subnet, call it msk0 and nfe0. Interface msk0 have IP address 192.168.0.2 and nfe0 192.168.0.3 and default router IP address is 192.168.0.1. route(8) takes a 'dev' argument

Specific interface to default route

2009-11-22 Thread Anthony M. Rasat
Dear all, I have two (ethernet) network interface with IP address within the same subnet, call it msk0 and nfe0. Interface msk0 have IP address 192.168.0.2 and nfe0 192.168.0.3 and default router IP address is 192.168.0.1. I want only nfe0 that can talk to default router while keeping msk0

Re: Specific interface to default route

2009-11-22 Thread Anthony M. Rasat
Trober wrote: Anthony wrote: Dear all, I have two (ethernet) network interface with IP address within the same subnet, call it msk0 and nfe0. Interface msk0 have IP address 192.168.0.2 and nfe0 192.168.0.3 and default router IP address is 192.168.0.1. I want only nfe0 that can talk to

Route outgoing traffic on jail

2009-08-10 Thread Jan Aage Knutsen
Hi, Im trying to route the outgoing traffic from a jail trough another gw than the default one set on host with pf. The host is using internal address 192.168.10.5 and the default route is to 192.168.10.1 wich is a dsl line. The jail is using a public ip that is on a fiber line where

Setting up LAN: no route to host

2009-08-08 Thread Nerius Landys
, but I put something here anyways. hostname=speedy.i ifconfig_fxp0=inet 192.168.0.254 network 255.255.255.0 ifconfig_fxp0=up My /etc/hosts includes this line: 192.168.0.254 speedy.i speedy Now when I am logged in to this machine and I ping 192.168.0.254, I get: ping: sendto: No route to host

Re: Setting up LAN: no route to host

2009-08-08 Thread Mel Flynn
On Saturday 08 August 2009 16:38:39 Nerius Landys wrote: I'm trying to set up a LAN that is isolated from the internet, and I don't know what to put in /etc/rc.conf for certain variables. I'm running FreeBSD 7.1 with the latest patches. So far my /etc/rc.conf file has the following lines:

Re: Setting up LAN: no route to host

2009-08-08 Thread Gary Gatten
: no route to host I'm trying to set up a LAN that is isolated from the internet, and I don't know what to put in /etc/rc.conf for certain variables. I'm running FreeBSD 7.1 with the latest patches. So far my /etc/rc.conf file has the following lines: defaultrouter=192.168.0.1 # I would like to leave

Re: Setting up LAN: no route to host

2009-08-08 Thread Nerius Landys
I mistyped netmask as network in my email. But removing that second line like you said fixes the problem. Thanks. You should delete the second line (an interface will be marked up if an IP address is assigned to it) and fix the netmask keyword. ___

pf vs null route

2009-06-15 Thread Doug Hardie
have very weak passwords. Granted they will only be able to get to the user's personal web space, but that would be inconvenient for the user. For a long time I have been using null routes for the persistent attacks (set a route of 127.0.0.2 for their adddress in the route table

RE: pf vs null route

2009-06-15 Thread Gary Gatten
run slow for a little while instead of being blocked entirely. G -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Doug Hardie Sent: Monday, June 15, 2009 4:47 PM To: freebsd-questions - Subject: pf vs null route My web

pppoe routing problem, default route isnt used for some hosts

2009-05-29 Thread Fabian Holler
Hello, I have an strange routing problem. I can't connect to some hosts in the internet till I add an explicit route for this hosts with my default gw as gateway. There aren't any other routes that could match the destination IP for non-working hosts. So the connection should also without

Re: pppoe routing problem, default route isnt used for some hosts

2009-05-29 Thread Nikos Vassiliadis
Fabian Holler wrote: Hello, I have an strange routing problem. I can't connect to some hosts in the internet till I add an explicit route for this hosts with my default gw as gateway. There aren't any other routes that could match the destination IP for non-working hosts. So the connection

  1   2   3   4   >