sharing Internet connection with more than one client
I have an ubuntu 7.10 ICS server that works fine and I have routed my traffic using firestarter to my windows PC. my server's IP is 192.168.0.1 and my windows client is 192.168.0.2. now, I have bought another PC and I want to assign 192.168.0.3 to it and connect it to ubuntu server. in windows, all I needed to do was to connect the first client to first network card, second one to second network card, bridge two connections in my server, assign 192.168.0.1 to the network bridge in my server and 192.168.0.2 and 192.168.0.3 to my clients, then share my internet connection. I also could access shared files in any computer from all of them. can I have the same functionality with a linux server?
I'll make a list to make it easy if you don't wanna read the whole post: things I want: 1. assign one ip address to multiple interfaces in linux, making them bonded. 2. sharing the internet connection with both clients. 3. ability to use all shared files over a network. any help is appreciated, thanks in advance. :) |
hi,
Quote:
create the bridge eg. br0 - and put the NICs as its member. #brctl --help will help you a lot better. Quote:
Quote:
HTH. |
Quote:
|
Quote:
# brctl addbr br0 # brctl addif br0 eth2 # brctl addif br0 eth3 then in firestarter's preferences, this is how I set it: http://img34.picoodle.com/img/img34/...1m_232560f.jpg (img code is off for me, please browse the link) that's my setting in the network applet: http://img02.picoodle.com/img/img02/...2m_3379c56.jpg and everything is done! now I have Internet connectivity on both of my windows PCs. |
hi perham,
Quote:
but - if you need to connect more than 2 computers - i'd suggest you to consider buying a small switch wont hurt :) |
All times are GMT -5. The time now is 12:16 AM. |