*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
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.
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.
I want to use one of my eth card as a gate , could any one tell me how to set it up.
rl0:1
rl0:2 seems not a valid device name, where can i find a legal name for it, or how to create one.
Sorry, sincerely! I don't meant to disturb the forum.
the out put was as following,
I've tried aix on IBM, it troubles me with the same question.
perviously , i did the same thing on slackware, redhat , mandrake
it can be configured with
ifconfig eth1:1.......
but on freeBSD or AIX I can not find the way
can you tell me what part should i study.
Thanks!
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
Your network cards are xl0 and rl0. UNIX uses the driver name to enumerate interfaces, unlike Windows and Linux which just use generic interface names. On a UNIX or BSD based system network cards are numbered like this:
driverX0
driverX1
driverS0
driverA0
etc...
Also, UNIX systems don't use interfaceN:N to describe aliases (that notation actually indicates VLAN, on some BSDs).
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
Have you tried reading the man page for ifconfig(8), by any chance? It should be pretty obvious if you have. It's exactly the same as normal ifconfig, only you add "alias" to the end. If you want to do this automatically at boot time, you can add the full ifconfig command for the alias into /etc/rc.local. That method is now deprecated (but it's the easiest). Check the rc(8) man page for more options.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.