-
sommerfeld
so the
ietf.org/rfc/rfc2132.txt definition of dhcp option 3 allows multiple addresses in the same option and says " The router option specifies a list of IP addresses for routers on the client's subnet. Routers SHOULD be listed in order of preference."
-
sommerfeld
but it doesn't specify the client behavior
-
EisNerd_
jclulow: unplumb is I think not the intended way
-
jclulow
sommerfeld: Yeah I think it's sufficiently underspecified that you should never do it unless all of the router IPs are equivalent
-
jclulow
EisNerd_: Indeed, you should be able to do something with the ipadm command
-
jclulow
not the ifconfig command
-
jclulow
And if you cannot, then we should get a bug filed with the detalis of the system got into this state and what isn't working when trying to fix it
-
EisNerd_
how to get rid of this "e1000g0/?"
-
jclulow
I'm not sure! I would try to delete-addr -- but I suspect that won't work
-
EisNerd_
ipadm: could not delete address: Object not found
-
jclulow
For the bug, I would get at least the following information together: the contents of "/etc/ipadm/ipadm.conf", the output of "ipadm show-addr" and "ipadm show-if", and the output of "ifconfig -a", and perhaps "dladm show-link"
-
EisNerd_
guess illumos?
-
jclulow
Yes
-
jclulow
-
jclulow
oh also the output of "svcs network/physical"
-
EisNerd_
-
fenix
→
BUG 16472: unable to remove addr-obj with ipadm (New)
-
jclulow
EisNerd_: So did you have nwam enabled previously?
-
EisNerd_
btw how well is support for zfs audit flag currently?
-
EisNerd_
jclulow: maybe on install
-
EisNerd_
but I removed this cleanly years ago
-
jclulow
So where does the IP address on e1000g0 come from
-
EisNerd_
configuration using hostname files
-
jclulow
Ah ok, can you include that detail in the issue
-
EisNerd_
give me a second
-
jclulow
When you say you had an "/etc/hostname6.e1000g0" file, you've removed that now? And rebooted?
-
jclulow
Do you have any /etc/dhcp.* files?
-
EisNerd_
jclulow: not yet rebooted
-
jclulow
Ok, so the empty "hostname6.e1000g0" file is probably where the addrconf address came from I imagine, at least
-
jclulow
What does "netstat -D" say
-
tsoome
manual ifconfig (and hostname.ifname) will create temporary address object in ipadm term (that is what you see as ifname/? entry), but since ifconfig plumb will also create temporary 'ipadm create-if', that whole combination is probably having some interesting corner cases in ipadm context...
-
EisNerd_
jclulow: added comment with this information
-
jclulow
EisNerd_: alright thanks
-
EisNerd_
just to note, parts of this is older than ipadm afaik
-
jclulow
Now that you have removed the /etc/hostname6.* file, if you reboot does that weird IPv6 stuff go away?
-
jclulow
And then, once it's gone, hopefully "ipadm create-addr -T addrconf e1000g0/v6" will work
-
EisNerd_
jclulow: yes, worked, thx
-
jclulow
Excellent
-
EisNerd_
afaik initially ipadm was not able to just autoconfigure v6, it was eigther both or nothing, so I used the hostname-file way
-
EisNerd_
but the log gets still flooded
-
EisNerd_
just replace e1000g0:1: with e1000g0:2:
-
EisNerd_
logflooding stops if I remove the v6 addr
-
EisNerd_
as to be expected
-
tsoome
well, our commit log does not mention ipadm + v6 changes, and v6 addrobj was present in 'PSARC 2009/306 Brussels II - ipadm and libipadm' :) but thats long time ago and details are not easy to find:)
-
EisNerd_
anyway, the logflooding is anoying
-
EisNerd_
any idea to this part?
-
tsoome
what is the message in that flood?
-
EisNerd_
see the issue, I added it there also
-
EisNerd_
as I suspected it being a potential symptom
-
tsoome
you have stateful addrconf ?
-
EisNerd_
looks like the file thing was more or less working as expected, just a bit awkward but with the same result in the end
-
EisNerd_
tsoome: ??
-
EisNerd_
I have a fritz box configured for dual stack operation intern and extern using public prefix provided, this is also the reason I need v6 auto configuration
-
EisNerd_
as I do not know the exact v6 address I get
-
EisNerd_
sadly I'm not a v6 expert and still looking for some source to explain this entire thing useful
-
tsoome
did you try ipadm create-addr -T addrconf -p stateless=yes
-
EisNerd_
does not change anything
-
tsoome
If my memory serves, stateless is autoconfig based on announced prefix and mac address; stateful is dhcpv6
-
tsoome
but I can not find references that quick:D
-
EisNerd_
my network should be able to serve both, but I could check
-
tsoome
I have never used dhcpv6 myself, have no idea how our dhcpagent is behaving with v6
-
tsoome
ipadm show-addr -o all is telling me:
-
tsoome
e1000g0/v6 addrconf ok U---- U-- fe80::ec4:7aff:fe6b:3dae%e1000g0/10
-
tsoome
e1000g0/v6 addrconf ok U---- --- 2001:7d0:4981:f900:ec4:7aff:fe6b:3dae/64
-
EisNerd_
dhcpv6 is active
-
EisNerd_
same here (jsut different addresses ;))
-
EisNerd_
but also v6 advertising afaik
-
EisNerd_
maybe this is the cause, as both methods try to configure the if on illumos
-
tsoome
does snoop/wireshark confirm your host is performing v6 dhcp request/replys?
-
EisNerd_
guess I solved it
-
tsoome
different prefixes should trigged creation of additional virtual interfaces (ifname:X)
-
EisNerd_
=> ipadm create-addr -T addrconf -p stateless=no e1000g0/v6
-
tsoome
and the flood stopped?
-
EisNerd_
yes
-
EisNerd_
and following our discussion it was concluding
-
tsoome
so dhcpv6 and stateless config is not healthy
-
EisNerd_
so stateless autoconf kicked in first and configured the ip based on advertisements
-
EisNerd_
dhcpv6 was slower but get same result and tried also to configure it
-
EisNerd_
but can't as the ip was already configured
-
tsoome
sounds like a bug to me:)
-
EisNerd_
I guess if I set "stateful=no" it will also stop
-
tsoome
worth to test but I'm quite sure it will
-
EisNerd_
/sbin/dhcpagent[4053]: [ID 490758 daemon.error] send_pkt_internal: cannot send RELEASE packet to server (will retry in 1 seconds): No buffer space available
-
EisNerd_
uh?
-
EisNerd_
ok flooding is back, let's check
-
tsoome
I'm using v6 since it appeared in Solaris 7;)
-
EisNerd_
ok, yes this also resolves flooding (stateful=no)
-
EisNerd_
so which would be the better choice?
-
tsoome
depends on your intent. stateless depends on prefix announcements from router, stateful is depending on dhcp server config.
-
EisNerd_
both should be equal here
-
tsoome
dhcp allows to set lease times etc
-
EisNerd_
ok the reboot also solved my usb ftdi issue
-
EisNerd_
and maybe without the log flood other things get smother
-
EisNerd_
btw is there any progress regarding persistent device naming?
-
EisNerd_
and, as already asked, how well is support for zfs audit flag currently and is there some good documentation about this?
-
tsoome
nothing special is added recently. there are some patches around to add better support, especially related to nfs and smb, but this all does take a lot of time.
-
jclulow
EisNerd_: How do you mean persistent device naming? Much of our device naming is persistent already
-
EisNerd_
tsoome: yeah saw on issues that Gordon was working on this some time ago
-
EisNerd_
jclulow: for example for USB ftdi serial adapters
-
jclulow
Ah, well, USB is pretty tricky to be honest
-
EisNerd_
jclulow: would be nice to have some persistent naming, like /dev/cua/by-name/[DRIVER]-[TYPE]-[SERIAL]
-
jclulow
Yes, I've thought about that before
-
jclulow
Part of the trouble is that there are literally no guarantees about the serial numbers
-
jclulow
They might not exist, they might not be unique, they might contain illegal characters, etc
-
EisNerd_
if it does not work or gets collisions, we can add a seuqence number, choosen by path
-
jclulow
EisNerd_: Can you pastebin the output of "prtconf -v" on the system with your FTDI parts
-
EisNerd_
it would be still better compared to current situation
-
EisNerd_
cfgadm also shows all is needed
-
EisNerd_
thats a lot
-
jclulow
it is! can you just paste it into a gist/pastebin
-
tsoome
on mac i get /dev/tty.usbserial-210
-
jclulow
Also the output of "ls -la /dev/term"
-
EisNerd_
can I use such in zone configuration? /devices/pci@0,0/pci8086,3b4e@1c,6/pci17aa,219c@0/device@3:0,cu
-
jclulow
No I believe you need to match things in /dev
-
jclulow
That said I think you can just create your own links in a part of /dev that devfsadm isn't managing?
-
EisNerd_
maybe /etc/devlink.tab can help already
-
jclulow
I mean you can just use "ln -s"
-
jclulow
e.g., something like: ln -s ../devices/pci@0,0/pci8086,3b4e@1c,6/pci17aa,219c@0/device@3:0,cu /dev/myserialport
-
jclulow
I suspect that would work in a zone device "match" rule then
-
EisNerd_
how to get the ddi_ type of a device?
-
kebe
Seriously I can spell "approval". :-/
-
tsoome
:)
-
tux0r
sure?
-
sommerfeld
2 out of 3 isn't bad
-
gitomat
[illumos-gate] 16452 want strerrordesc_np and strerrorname_np -- Robert Mustacchi <rm⊙fo>