Hi, How can I configure two LAN cards in Linux. And I want to configure routing between this cards. ie , How will I configure linux as a router, as I need to configure this machine as a proxy server. Pls help me thanks, Rajesh
On Thu, 8 Aug 2002, Rajesh Prakasan wrote:
How can I configure two LAN cards in Linux. And I want to
configure routing between this cards. ie , How will I configure linux as a router, as I need to configure this machine as a proxy server.
read the routing howto, and the proxy howto, and look for the linux router project.
On Thu, Aug 08, 2002 at 05:42:29PM +0530, Rajesh Prakasan wrote:
Hi, How can I configure two LAN cards in Linux. And I want to configure routing between this cards. ie , How will I configure linux as a router, as I need to configure this machine as a proxy server.
[snip] Well from what I figure out, you want to configure two LAN cards on the same box. Now autoprobing will detect only one card at boot time, if at all. This is a conscious design decision, as then you can control the interface to card mapping. So, you will have to pass command line kernel parameters. Something like ether=...... Read the BootPrompt HOWTO for more on that. You may also want to take a look at the Ethernet HOWTO. Once the cards are probed( and detected), configure the interfaces with 'ifconfig' and then do your routing table manipulations with 'route'. Do this manually first....check it. Automating would depend on what distro you use. Hope that helps abhijeet