brigding between two interfaces

2013-10-08 Thread Yasir hussan
Hi, i am little bit weak in networking concept, i have two network interfaces usb0 and eth0, eth0 is connected to a static ip, which works perfectly fine, now i want that usb0 should be able to access static ip which is connected to eth0, can anyone guide me proper solutionwith command for this w

how to make a option in menuconfig as new feature

2013-08-26 Thread Yasir hussan
Hi, I want to add up a kernel module to my linux kernel,currently i am mannuly changing .config file to include my new module but i want to add it as option in menuconfig from where i choose it where it should be included or not... Thanks ___ freebsd-cu

vlan interface does not repond on untagged packets

2013-03-14 Thread Yasir hussan
Hi, i am creating and testing vlan using these commands, *ifconfig arge0 192.168.100.10 netmask 255.255.255.0* * * *ifconfig vlan4 create* *ifconfig vlan4 vlandev arge0 vlan 4* *ifconfig vlan4 192.168.1.10 netmask 255.255.255.0* here arge0 is the default interface of my ethernet device, now i w

Re: using multiple interfaces for same Network Card

2013-03-12 Thread Yasir hussan
U say u were successfully using vlans by vlandev in FreeBSD , Can u send me exact commands and configuration which u were applying, It will be very helpful for me... Thank On Tue, Mar 12, 2013 at 11:39 PM, John-Mark Gurney wrote: > Yasir hussan wrote this message on Tue, Mar 12, 2013 at 23

Re: using multiple interfaces for same Network Card

2013-03-12 Thread Yasir hussan
, Does any one have used it, kindly guide me about it Thanks On Tue, Mar 12, 2013 at 5:06 PM, Ian FREISLICH wrote: > Yasir hussan wrote: > > Thanks for notic but all the elebration was for make alias on one > > interface but i want to have multiple interface, i can no where th

Re: using multiple interfaces for same Network Card

2013-03-12 Thread Yasir hussan
Tue, Mar 12, 2013 at 6:08 AM, Tom Evans wrote: > On Tue, Mar 12, 2013 at 7:43 AM, Yasir hussan wrote: > > Hi guys, > > > > Is there any way that i can have multiple interfaces which i can able to > > access from any other machine for same single network card, I am able t

using multiple interfaces for same Network Card

2013-03-12 Thread Yasir hussan
Hi guys, Is there any way that i can have multiple interfaces which i can able to access from any other machine for same single network card, I am able to create new interfaces like # ifconfig arge0.1 create but i am unable to access it frm any other machine. I want it be able to oing from any o

Re: multi-homing in freebsd

2013-03-09 Thread Yasir hussan
able prefix, > assigned to some US company. > To be exact: The ranges from RFC1918 are 10.0.0.0/8, 172.16.0.0 /20 > and 192.168.0.0/24. > > On Sat, Mar 9, 2013 at 9:57 AM, Yasir hussan wrote: > > Kindly will u give me example with cammand line, which can test on my > > freeb

Re: multi-homing in freebsd

2013-03-09 Thread Yasir hussan
013 at 3:04 AM, Yasir hussan wrote: > >> i just want to run multiple IPs for single network card in freebsd >> >> > OK. A better question. About the only caution I can give here (assuming > you don't mean something more interesting like vlans and whatnot) is tha

Re: multi-homing in freebsd

2013-03-09 Thread Yasir hussan
i just want to run multiple IPs for single network card in freebsd On Sat, Mar 9, 2013 at 2:55 AM, Yasir hussan wrote: > Hi, > > Does anyone know usage of multi-homing in freebsd, if YES kindly guid me > how i can test it on my own PC

multi-homing in freebsd

2013-03-08 Thread Yasir hussan
Hi, Does anyone know usage of multi-homing in freebsd, if YES kindly guid me how i can test it on my own PC. Thanks ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "

Re: fail to load vlans into the vlan translation unit

2013-02-19 Thread Yasir hussan
_PORTS_SHIFT) | (ingress << AR8316_PORT_VLAN_MODE_SHIFT) | (pvid << AR8316_PORT_VLAN_DEFAULT_ID_SHIFT)); } I think two vlan with ids 1,2 should be created which would be working fine by just upgrading registers, if i am missing something u can it... Thanks, On Tue, Feb 19, 2013 at 10:07 PM, Yasir hussa

fail to load vlans into the vlan translation unit

2013-02-19 Thread Yasir hussan
hi, i am trying to build up vlan feature for chip ar8316 in freebsd, i am yet able to make a single defualt vlan which is working properly, where i am failing is i guess is in calculate the port destination masks and load vlansinto the vlan translation unit, i am tring to copy style of open-wrt, u

kernel boot failier

2013-02-13 Thread Yasir hussan
hi, i am have make some changes in my freebsd acutally have replaced mii bus with my own switch bus and have put some code of switch but after i successfully build kernel and world when i try to run it on machine it just hangs up at boot time after this ar7100> bootm change bootargs console=ttyS0

vlan testing using etherswitchcfg

2013-02-12 Thread Yasir hussan
hi, is there anyone who knows how i can test vlan feature using *etherswitchcfg*, it tried to set and get vlan configuration for chip ar8316 it shows me right output like #etherswitchcfg port0: vlangroup: 1 media: Ethernet 1000baseT status: active port1: vlangroup

vlan testing using etherswitchcfg

2013-02-11 Thread Yasir hussan
hi, is there anyone who knows how i can test vlan feature using *etherswitchcfg*, it tried to set and get vlan configraton for chip ar8316 it shows me right output, but i still dont know how i should test it with its limited commands. Plz anyone who knows kindly inform me detailed setup to test v

svn guid

2013-02-11 Thread Yasir hussan
hi, can anyone help me how i can download this code, i tried to downlaod differnect id by using svn but still fail, i think i am missing something from basics http://zrouter.org/hg/FreeBSD/head/file/a7c552e1ed7f/head/sys/dev/switch/ar8x16_switch.c Thanks _

getting problems with compiling kernel

2013-02-07 Thread Yasir hussan
hi, i yesterday i was tried to patch file on my freensd code, because it was my custom code so i had to patch my code by update file to file, with my calculation everything should go perfectly it didn`t, i am getting some errors like cc -c -O -pipe -march=mips32 -std=c99 -g -Wall -Wredundant-decl

Need to test new patch of Ethernet Switch Framework

2013-02-05 Thread Yasir hussan
Hi, I saw a report that covers FreeBSD-related projects between October and December 2010 and I observe that it have new patch for Ethernet Switch Framework, I have also seen a little bit inside the code of patch( http://loos.no-ip.org/rspro/switch-1.diff). I downloaded fresh code of FreeBSD v9 a