Network configuration
Steve Bertrand
iaccounts at ibctech.ca
Fri Nov 18 22:44:42 GMT 2005
>> - you are NOT trying to get the second PC on the Internet
>>
> No, I'm not. The agreement with my ISP doesn't allow to connect more
> than one computer to the WAN.
LOL ;) I won't condone going against their rules, but that is what NAT
is for...
> Part of my network's configuration is not in /etc/rc.conf . I have
> there only ifconfig_rl0="DHCP" to connect to the Internet. I used
> these commands to configure the LAN:
> #ifconfig rl0 alias 192.168.0.1
> 192.168.0.2
How about:
# ifconfig rl0 alias 192.168.0.1/24
I can't remember if /24 will work, if it doesn't:
# ifconfig rl0 alias 192.168.0.1 255.255.255.0
> On the second PC:
> #ifconfig fxp0 192.168.0.2 192.168.0.1
and:
# ifconfig fxp0 192.168.0.2/24
...should get you at minimum to see each other.
ie: from 2nd pc:
# ping 192.168.0.1
...now about that 2 pc's on the Internet thing. I think *almost* all
ISP's who offer highspeed say that.
Steve
>
>
> It's based on this, what is in the Handbook about IPv4 networks.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
>
>
More information about the freebsd-questions
mailing list