Re: ip(8) in base

2020-08-16 Thread Andreas Nilsson
On Sun, Aug 16, 2020 at 11:11 AM Alexander V. Chernikov wrote: > I want to introduce ip(8) or something similar in base. > Basically, I need some userland tool to explicitly operates on nexthops, > nexthop groups and fib lookup algorithms. > > The existing tools are not well suited for the job: r

Re: Eliminating IPv6 (?)

2019-06-19 Thread Andreas Nilsson
On Tue, Jun 18, 2019, 23:28 Ronald F. Guilmette wrote: > In message w...@mail.gmail.com> > Andreas Nilsson wrote: > > >But why are you even running rc.firewall if it does not do what you want? > > You are asking me the very question that *I* have been asking myself >

Re: Eliminating IPv6 (?)

2019-06-18 Thread Andreas Nilsson
On Tue, Jun 18, 2019 at 9:27 PM Ronald F. Guilmette wrote: > In message p6ukxfa4zthtrzwnxtpzi...@mail.gmail.com> > Andreas Nilsson wrote: > > >I have no ipv6 rules in ipfw when configuring rc.conf as: > > > >firewall_enable="YES" > >firewall_scri

Re: Eliminating IPv6 (?)

2019-06-18 Thread Andreas Nilsson
On Tue, Jun 18, 2019 at 2:16 PM Robert Huff wrote: > > Ronald F. Guilmette writes: > > > >Instead of messing with the system provided file you could > > >create a new one with only your own desired rules and then set > > >this rc.conf variable: > > > > > >firewall_script="/etc/rc.firewal

Re: Point-to-point using GRE over IPv6 -> not possible with a single /128 address on the server?

2019-02-20 Thread Andreas Nilsson
On Tue, Feb 19, 2019 at 5:37 PM Peter G. wrote: > On 19/02/2019 14:06, Andreas Nilsson wrote: > > On Tue, Feb 19, 2019 at 1:38 PM Peter G. wrote: > > > >> On 15/02/2019 17:49, Peter G. wrote: > >>> Now the GRE tunnel > >>> > >>>> if

Re: Point-to-point using GRE over IPv6 -> not possible with a single /128 address on the server?

2019-02-19 Thread Andreas Nilsson
On Tue, Feb 19, 2019 at 1:38 PM Peter G. wrote: > On 15/02/2019 17:49, Peter G. wrote: > > Now the GRE tunnel > > > >> ifconfig gre6 create > >> ifconfig gre6 inet6 fc01:e::100 fc:02:e::200 tunnelfib 6 > > #ifconfig: ioctl (SIOCAIFADDR): File exists > > > > Why is this not possible? Isn't the log

Re: 'no route to host" for cloned lo1 iface 12.0-CURRENT r334376+56a973815425(master) amd64

2018-05-30 Thread Andreas Nilsson
On Thu, May 31, 2018, 00:13 Rodney W. Grimes < freebsd-...@pdx.rh.cn85.dnsmgr.net> wrote: > > On Wed, 30 May 2018, at 17:46, Rodney W. Grimes wrote: > > > > > > > > ifconfig_lo1_aliases="inet 10.241.0.0-15/16" > > > > > > > > > > lo1: flags=8049 metric 0 mtu > 16384 > > > > > > > > inet 10

Re: 'no route to host" for cloned lo1 iface 12.0-CURRENT r334376+56a973815425(master) amd64

2018-05-30 Thread Andreas Nilsson
On Wed, May 30, 2018 at 3:40 PM, Dave Cottlehuber wrote: > I have 10.241.0.0-15/16 bound to lo1 for jails, and I just realised it > doesn't work anymore. Boxes at $DAYJOB use the same config and work just > fine on 11.1R/amd64, otherwise I'd be fired this used to work ~ 1 month > ago, both on

Re: Intel Dual Band Wireless AC 8260

2017-02-20 Thread Andreas Nilsson
On Tue, Feb 21, 2017 at 12:58 AM, Adrian Chadd wrote: > Hiya, > > > On 20 February 2017 at 15:50, Andreas Nilsson wrote: > > Hello, > > > > I have a laptop with an Intel Dual Band Wireless AC 8260 card ( > > iwm0@pci0:4:0:0: > >class=0x028000 ca

Intel Dual Band Wireless AC 8260

2017-02-20 Thread Andreas Nilsson
Hello, I have a laptop with an Intel Dual Band Wireless AC 8260 card ( iwm0@pci0:4:0:0: class=0x028000 card=0x11308086 chip=0x24f38086 rev=0x3a hdr=0x00 ) in my thinkpad x1 yoga. I'm running 12-CURRENT, and wireless is sort of working, although very slowly: IEEE 802.11 Wireless Ethernet OF

Re: upnp/dlna

2016-01-15 Thread Andreas Nilsson
On Fri, Jan 15, 2016 at 4:54 PM, Guido Falsi wrote: > On 01/15/16 14:52, Gerrit Kühn wrote: > > Hi, > > > > I have two FreeBSD boxes running mediatomb and minidlna. I also have a > > couple of clients, mostly internet radios by different manufacturers > > (Sangean, Philips, Renkforce...). > > I h

Was Re: FreeBSD 10.1: Intel dual port 10GbE card (82599EB) second port not present?: SFP+ on intel xl710

2015-02-12 Thread Andreas Nilsson
quot; sfps. Long story short, just for fun we booted a FreeBSD 10.1 system, and the card was recognized ( yay! ) but still "no carrier" from ifconfig. sysctl hw.ixl didn't show any tunables for "unsupported_sfp". Is this chip more picky about the trancei

Re: Compiling netmap in Ubuntu 14.04 in VMWare

2014-09-28 Thread Andreas Nilsson
On Sun, Sep 28, 2014 at 10:09 AM, Long Tran wrote: > Hello, > > I am trying to compile netmap on my VM Ubuntu 14.04 but getting this error: > > make -C /lib/modules/3.13.0-29-generic/build > M=/home/kl/Workspaces/netmap/LINUX CONFIG_NETMAP=m CONFIG_E1000=m > CONFIG_E1000E=m CONFIG_IXGBE=m CONFIG_

Re: fastforward/routing: a 3 million packet-per-second system?

2014-07-22 Thread Andreas Nilsson
Well, it shows how easily one can saturate the link. Just use more ports, the will be saturated as well. The problem though is that netmap requires that one implements the forwarding "logic" I think. Best regards Andreas On Tue, Jul 22, 2014 at 9:23 PM, Carlos Ferreira wrote: > I think the re

Re: em driver: netif hangs the system if interface is cabled and configured but there is no link

2014-06-12 Thread Andreas Nilsson
On Thu, Jun 12, 2014 at 6:11 PM, John Jasem wrote: > I'm configuring a system that's destined to be a multi-homed server, > using Intel dual port 1GbE cards that rely on the em driver. > > em0 has link, and only needed configuration. > > In an attempt to be ahead of the game, I pre-configured em2

Re: Can you create a FreeBSD gateway, with private IPs, without NAT/divert ?

2014-06-08 Thread Andreas Nilsson
On Sun, Jun 8, 2014 at 3:12 AM, Erich Dollansky wrote: > Hi, > > On Sat, 7 Jun 2014 09:48:39 -0700 (PDT) > None Secure via freebsd-net wrote: > > > Yes, but in this case BOTH IPs of the gateway - both the external and > > the internal interfaces - are non-routable IPs, and so is my ISP > > cable

Re: propose a new generic purpose rule option for ipfw

2014-05-29 Thread Andreas Nilsson
On Thu, May 29, 2014 at 3:39 PM, Luigi Rizzo wrote: > > > > On Thu, May 29, 2014 at 3:32 PM, Andreas Nilsson wrote: > >> On Thu, May 29, 2014 at 3:10 PM, Luigi Rizzo wrote: >> >>> On Thu, May 29, 2014 at 08:45:26PM +0800, bycn82 wrote: >>> ... >&g

Re: propose a new generic purpose rule option for ipfw

2014-05-29 Thread Andreas Nilsson
On Thu, May 29, 2014 at 3:10 PM, Luigi Rizzo wrote: > On Thu, May 29, 2014 at 08:45:26PM +0800, bycn82 wrote: > ... > > > > Sure, that is the reason why developers are providing more and more rule > options. But the my question is do we have enough options to match all the > fixed position values

Re: [Was]: Problem with ipfw table add 0.0.0.0/8

2014-05-19 Thread Andreas Nilsson
On Mon, May 19, 2014 at 10:54 AM, Dennis Yusupoff wrote: > Alex, Bill, it's a good news, glad to hear it. > > Let me ask even more functionality: > > 6. Test if entry exist in table: > ipfw table test > It extremely useful in case of big, unordered data in the table - for > example different ne

Re: Problem with ipfw table add 0.0.0.0/8

2014-05-17 Thread Andreas Nilsson
On Sat, May 17, 2014 at 3:44 PM, Alexander V. Chernikov < melif...@freebsd.org> wrote: > On 13.05.2014 16:05, Dennis Yusupoff wrote: > >> I think that universal table for all kind of data (ipv4, ipv6, ports, >> etc) is a bad idea by design. At least unless you haven't any ability to >> > It is not

Re: Server with multiple public IP

2014-04-28 Thread Andreas Nilsson
On Mon, Apr 28, 2014 at 11:16 AM, Dominic Froud wrote: > On 28/04/2014 09:58, Andrea Venturoli wrote: > >> I've got a server which has two (or more) interfaces with public IPs. >> >> Let's say, as an example (with fictional IPs): >> ifconfig_vlan1="inet 1.0.0.2 netmask 255.255.255.248..." >> ifco

Re: ipfw / routing issue on 9.2-RELEASE

2014-04-07 Thread Andreas Nilsson
On Wed, Mar 26, 2014 at 5:42 PM, Andreas Nilsson wrote: > ... snip ... > > >>> I'm wondering what's happening on the outbound path, most of your rules >>> handle inbound (to kernel) and it seems that rule 65535 deals with most >>> outbound,

Re: ipfw / routing issue on 9.2-RELEASE

2014-03-26 Thread Andreas Nilsson
... snip ... >> I'm wondering what's happening on the outbound path, most of your rules >> handle inbound (to kernel) and it seems that rule 65535 deals with most >> outbound, except those specifically acting on both paths. >> > So do I :) > >> >> Maybe try adding to the above: >> ipfw add 63510

Re: ipfw / routing issue on 9.2-RELEASE

2014-03-14 Thread Andreas Nilsson
... snip ... > Ah. Well it was good to see the rules listed anyway, always helps. > > > Was the count rules something like: > > > > 1 901 46132 skipto 63000 ip from table(1) to any in recv > > table(8) > > > > ... same as before ... > > > > 63500 895 45844 count log

Re: ipfw / routing issue on 9.2-RELEASE

2014-03-05 Thread Andreas Nilsson
On Wed, Mar 5, 2014 at 7:49 PM, Andrey V. Elsukov wrote: > On 04.03.2014 09:58, Andreas Nilsson wrote: > > Why do I need the explict fwd rule? As far as I can see the ipfw man page > > says nothing about skipto changing the packets, and since the 65533 rule > in > > the

Re: ipfw / routing issue on 9.2-RELEASE

2014-03-05 Thread Andreas Nilsson
Hello Raimundo On Wed, Mar 5, 2014 at 2:26 PM, Raimundo Santos wrote: > Hello, Andreas. > > If table(12) is empty, how will fwd know where to send the packets that > hits it? > My understanding is that the rule should not be triggered, as the "... from table(12)" will not match any packets. Othe

ipfw / routing issue on 9.2-RELEASE

2014-03-03 Thread Andreas Nilsson
ckets get to where they should. Why do I need the explict fwd rule? As far as I can see the ipfw man page says nothing about skipto changing the packets, and since the 65533 rule in the second ruleset triggers on the same thing as the skipto rule it would seem like packets are "intact". Why

Re: how define network with mask 8 for dhcp server?

2013-08-12 Thread Andreas Nilsson
2013 at 12:14 PM, Andreas Nilsson wrote: > >> >> On Mon, Aug 12, 2013 at 7:13 AM, wrote: >> >>> > you're right Olivier, but you know i have a user interface for dhcp >>> and i >>> > should handle all the network and ranges which are inserted

Re: how define network with mask 8 for dhcp server?

2013-08-12 Thread Andreas Nilsson
On Mon, Aug 12, 2013 at 7:13 AM, wrote: > > you're right Olivier, but you know i have a user interface for dhcp and i > > should handle all the network and ranges which are inserted by user and > > logically are true. network with mask 8, logically is true and having > > million available ip addr

Re: how define network with mask 8 for dhcp server?

2013-08-06 Thread Andreas Nilsson
then 192.0.0.1-192.221.255.255 which segfaults. The machine I test on does have 16gb of ram and 16gb of swap, so there should be a lot more mem available. Best regards Andreas > > > On Tue, Aug 6, 2013 at 1:35 PM, Andreas Nilsson wrote: > >> >> >> >> On Tue, Aug

Re: how define network with mask 8 for dhcp server?

2013-08-06 Thread Andreas Nilsson
On Tue, Aug 6, 2013 at 10:59 AM, Andreas Nilsson wrote: > > > > On Tue, Aug 6, 2013 at 10:40 AM, Olivier Nicole < > olivier.nic...@cs.ait.ac.th> wrote: > >> Sam, >> >> > my problem is to know how define a network with mask 8 and dhcp server >>

Re: how define network with mask 8 for dhcp server?

2013-08-06 Thread Andreas Nilsson
On Tue, Aug 6, 2013 at 10:40 AM, Olivier Nicole wrote: > Sam, > > > my problem is to know how define a network with mask 8 and dhcp server > > works correctly with it! you know if i config my dhcpd.conf like below, i > > have core dump either: > > subnet 10.0.0.0 netmask 255.0.0.0 > > { > > r

Re: ipfw and tablearg formatting

2013-06-04 Thread Andreas Nilsson
On Tue, Jun 4, 2013 at 4:06 PM, Julian Elischer wrote: > On 6/3/13 11:40 PM, Michael Sierchio wrote: > >> On Mon, Jun 3, 2013 at 4:43 AM, Andreas Nilsson >> wrote: >> >>> Hello, >>> >>> Still trying out the tablearg functionality of ipfw and f

Re: ipfw and tablearg formatting

2013-06-04 Thread Andreas Nilsson
On Tue, Jun 4, 2013 at 5:55 PM, Eugene Grosbein wrote: > On 03.06.2013 18:43, Andreas Nilsson wrote: > > Hello, > > > > Still trying out the tablearg functionality of ipfw and found the > following: > > > > 1) > > # ipfw table 100 add 192.168

Re: ipfw and tablearg formatting

2013-06-04 Thread Andreas Nilsson
On Mon, Jun 3, 2013 at 5:40 PM, Michael Sierchio wrote: > On Mon, Jun 3, 2013 at 4:43 AM, Andreas Nilsson > wrote: > > Hello, > > > > Still trying out the tablearg functionality of ipfw and found the > following: > > > > 1) > > # ipfw table 100 add

ipfw and tablearg formatting

2013-06-03 Thread Andreas Nilsson
Hello, Still trying out the tablearg functionality of ipfw and found the following: 1) # ipfw table 100 add 192.168.0.0/24 10.0.0.1 # ipfw table 100 list 192.168.0.0/24 167772161 I guess it is correct, but not user friendly. Can't the tablearg part be printed as normal dotted decimal? 2) # ip

Re: IPFW tablearg questions

2013-05-30 Thread Andreas Nilsson
On Thu, May 30, 2013 at 1:01 PM, Paul A. Procacci wrote: > > The question: > > Why can't you add a skipto to the default rule (65535)? > > http://lists.freebsd.org/pipermail/freebsd-ipfw/2007-June/003067.html > > > I also consider using tablearg with divert, but manpage is contradicting > > itself

IPFW tablearg questions

2013-05-30 Thread Andreas Nilsson
ot; where ipfw add 100 ipfw skipto seems wrong... Best regards Andreas Nilsson ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Re: FreeBSD jail can't talk to internet through multiple routers

2013-05-28 Thread Andreas Nilsson
On Wed, May 29, 2013 at 4:06 AM, Julian Elischer wrote: > On 5/29/13 7:57 AM, Jeff wrote: > >> Hi, >> >> I run PCBSD 9.1 and have a jail setup (uses the Warden PBI to set it up). >> >> In that jail which has it's own local IP like 192.168.1.12, I have an >> Apache server running Drupal. >> >> Nor

Re: using netmap

2013-04-15 Thread Andreas Nilsson
On Mon, Apr 15, 2013 at 7:52 PM, Sami Halabi wrote: > Hi, > I would like to start using netmap. > > as a start i copied the example from netmap > page: > #include > #include > #include > #include > > int main() { > > struct netmap_if *nifp; > struct nm

Re: gre tunnel woes

2013-04-03 Thread Andreas Nilsson
On Wed, Apr 3, 2013 at 5:00 PM, Robert Blacquiere wrote: > On Wed, Apr 03, 2013 at 04:51:53PM +0200, Andreas Nilsson wrote: > > Hello, > > > > I'm struggling a fair bit with gre tunnels today: > > > > Woe 1: > > > > I'm

gre tunnel woes

2013-04-03 Thread Andreas Nilsson
rface comes up with the old configuration. Is that really the expected behavior? I noticed that lagg interfaces does exactly the same thing. Best regards Andreas Nilsson ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Re: What driver should I use for 'intel centrino wireless-N 2200 BGN' ?

2012-10-08 Thread Andreas Nilsson
On Mon, Oct 8, 2012 at 2:21 PM, Denise H. G. wrote: > Hi list, > > I tried ipw, iwn, and iwi, but ended up with no luck. What's more, it > seems that the wireless adapter has not been even detected by the > system. I ran 'pciconf -l' and got this line which seems to be my > wireless adapter: > >

Re: iwn adhoc mode

2012-08-01 Thread Andreas Nilsson
On Wed, Aug 1, 2012 at 10:12 AM, Bernhard Schmidt wrote: > On Fri, Jul 27, 2012 at 11:25 AM, Andreas Nilsson > wrote: > > and when I try to setup the connection manually with ifconfig I get > > ifconfig: SIOCIFCREATE2: Operation not supported > > and from reading older po

iwn adhoc mode

2012-07-27 Thread Andreas Nilsson
ntel Corporation' device = 'Centrino Ultimate-N 6300' class = network Best regards Andreas Nilsson ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Re: ipfw table support for ipv6

2012-07-03 Thread Andreas Nilsson
On Tue, Jul 3, 2012 at 1:53 PM, Alexander V. Chernikov wrote: > On 03.07.2012 15:50, Andreas Nilsson wrote: > >> >> On Tue, Jul 3, 2012 at 1:34 PM, Alexander V. Chernikov >> mailto:melif...@freebsd.org>> wrote: >> >> On 03.07.2012 15:32, Andreas Ni

Re: ipfw table support for ipv6

2012-07-03 Thread Andreas Nilsson
On Tue, Jul 3, 2012 at 1:34 PM, Alexander V. Chernikov wrote: > On 03.07.2012 15:32, Andreas Nilsson wrote: > >> I just wondered what the status of table support for ipv6 in ipfw is? >> > "working" > And commited? On 9-stable from Jun 12 I cannot add an ipv6 to

ipfw table support for ipv6

2012-07-03 Thread Andreas Nilsson
I just wondered what the status of table support for ipv6 in ipfw is? Best regards Andreas ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.or

Re: VALE, a Virtual Local Ethernet. http://info.iet.unipi.it/~luigi/vale/

2012-06-11 Thread Andreas Nilsson
I just read the paper and it looks really promising :) I decided to test it and downloaded http://info.iet.unipi.it/~luigi/netmap/20120608-netmap-picobsd-head-amd64.bin( thanks for making it easy to test! ) I booted it up in kvm and it works great! I got 8.86Mpps (64-byte) in the image, that is

Re: nmbclusters: how do we want to fix this for 8.3 ?

2012-02-23 Thread Andreas Nilsson
On Thu, Feb 23, 2012 at 9:19 AM, Fabien Thomas wrote: > > Le 22 févr. 2012 à 22:51, Jack Vogel a écrit : > > > On Wed, Feb 22, 2012 at 1:44 PM, Luigi Rizzo wrote: > > > >> On Wed, Feb 22, 2012 at 09:09:46PM +, Ben Hutchings wrote: > >>> On Wed, 2012-02-22 at 21:52 +0100, Luigi Rizzo wrote: >